generate-story prompt

This commit is contained in:
Lucas Santana 2024-12-25 14:00:05 -03:00
parent cc23c83c05
commit 4d09386d96

View File

@ -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",