mirror of
https://github.com/lucasrcsantana/story-generator.git
synced 2025-12-18 06:17:56 +00:00
generate-story prompt
This commit is contained in:
parent
cc23c83c05
commit
4d09386d96
@ -151,7 +151,7 @@ serve(async (req) => {
|
|||||||
|
|
||||||
// Gerar imagem com DALL-E
|
// Gerar imagem com DALL-E
|
||||||
const imageResponse = await openai.images.generate({
|
const imageResponse = await openai.images.generate({
|
||||||
prompt: `${page.image_prompt}. Style: children's book illustration, colorful, educational, safe for kids. Prioritize diversity.`,
|
prompt: `${page.image_prompt}. Style: children's book illustration, colorful, educational, safe for kids.`,
|
||||||
n: 1,
|
n: 1,
|
||||||
size: "1024x1024",
|
size: "1024x1024",
|
||||||
model: "dall-e-3",
|
model: "dall-e-3",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user