Image generation for an item by AI api | CyberSEO Pro
May 4, 2011

Image generation for an item by AI api | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Image generation for an item by AI api
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
February 20, 2023
2:55 pm
Avatar
ronsahertian
Member
Members
Forum Posts: 22
Member Since:
September 15, 2022
sp_UserOfflineSmall Offline

Hi,

There is an example of the dummy feed for AI 

‘write a funny joke about Elon Musk’

write a short title for this joke:

Do you have example code for an image generation for the corresponding item??

Thanks,
Ron
February 20, 2023
8:15 pm
Avatar
CyberSEO
Admin
Forum Posts: 3461
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Sure. Here it is:

Login to see the code

February 20, 2023
8:26 pm
Avatar
CyberSEO
Admin
Forum Posts: 3461
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

The short PHP code above generates jokes about Elon Musk, Batman or Richard Nixon with an appropriate title and image. It also tags every post with a character name.

February 21, 2023
9:41 am
Avatar
ronsahertian
Member
Members
Forum Posts: 22
Member Since:
September 15, 2022
sp_UserOfflineSmall Offline

Thanks!!!wink

February 22, 2023
12:24 pm
Avatar
ronsahertian
Member
Members
Forum Posts: 22
Member Since:
September 15, 2022
sp_UserOfflineSmall Offline

Oeps … is Musk not allowed (-;

[22-02-23 11:02:46] Feed URL: #0993259001676899823

[22-02-23 11:02:46] Processing a new post…
[22-02-23 11:02:46] Generating DALL∙E image for “pictures of Elon Musk”
[22-02-23 11:02:47] Error: Your request was rejected as a result of our safety system. Your prompt may contain text that is not allowed by our safety system.
[22-02-23 11:02:47] Generating Stable Diffusion image for “Elon Musk”
[22-02-23 11:02:52] Success
[22-02-23 11:02:52] Executing user-defined PHP code
[22-02-23 11:02:52] Generating DALL∙E image for “draw a funny picture of Elon Musk”
[22-02-23 11:02:53] Error: Your request was rejected as a result of our safety system. Your prompt may contain text that is not allowed by our safety system.
[22-02-23 11:02:53] Generating OpenAI GPT-3 content for: “write a funny joke about Elon Musk”
[22-02-23 11:02:55] Success
[22-02-23 11:02:55] Generating OpenAI GPT-3 content for: “write a short title for this joke: Q: What did Elon Musk do after inventing the electric car?A: He decided to take it for a spin…on Mars!”
[22-02-23 11:02:56] Success
[22-02-23 11:02:56] Done
[22-02-23 11:02:56] Inserting a new post into the WordPress database
[22-02-23 11:02:57] Done
[22-02-23 11:02:57] New post title:

“Elon Musk’s Interplanetary Joyride”

[22-02-23 11:02:57] New post ID: 6293

February 22, 2023
12:26 pm
Avatar
CyberSEO
Admin
Forum Posts: 3461
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

That’s something new…

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 81

s.baryshev.aoasp: 63

Freedom: 61

MediFormatica: 49

B8europe: 47

saviulisse67: 45

Member Stats:

Guest Posters: 338

Members: 2465

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 4

Topics: 1459

Posts: 7293

Newest Members:

ernestorenovato, tamara.tlustenko, hasandogu, volkane169, vivevirtual.es, danielle.c.thompson

Administrators: CyberSEO: 3461