Skip to content

Commit

Permalink
fix: Dall-E image generation examples
Browse files Browse the repository at this point in the history
  • Loading branch information
DZunke committed Jan 7, 2025
1 parent 86b80f9 commit ad93cc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/image-generator-dall-e-2.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
model: new DallE(),
input: 'A cartoon-style elephant with a long trunk and large ears.',
options: [
'version' => DallE::DALL_E_2, // Utilize Dall-E 2 version
'model' => DallE::DALL_E_2, // Utilize Dall-E 2 version
'response_format' => 'url', // Generate response as URL
'n' => 2, // Generate multiple images for example
],
Expand Down
2 changes: 1 addition & 1 deletion examples/image-generator-dall-e-3.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
model: new DallE(),
input: 'A cartoon-style elephant with a long trunk and large ears.',
options: [
'version' => DallE::DALL_E_3, // Utilize Dall-E 3 version
'model' => DallE::DALL_E_3, // Utilize Dall-E 3 version
],
);

Expand Down

0 comments on commit ad93cc4

Please sign in to comment.