Skip to content

Commit

Permalink
fix: specify DALL-E 2 model for image generation in token idea service
Browse files Browse the repository at this point in the history
  • Loading branch information
ilijabojanovic committed Dec 20, 2024
1 parent 668dea0 commit 42d9b62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/model/src/services/openai/generateTokenIdea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ const generateTokenIdea = async function* ({
const imageResponse = await openai.images.generate({
prompt: TOKEN_AI_PROMPTS_CONFIG.image(tokenIdea.name, tokenIdea.symbol),
size: '256x256',
model: 'dall-e-2',
n: 1,
response_format: 'url',
});
Expand Down

0 comments on commit 42d9b62

Please sign in to comment.