Skip to content

Commit

Permalink
chore (docs): Use dall-e-2 for multi image generation example. (#4203)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaper authored Jan 2, 2025
1 parent 9304964 commit 81ed334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/docs/03-ai-sdk-core/35-image-generation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ const uint8Array = image.uint8Array; // Uint8Array image data

### Generating Multiple Images

`generateImage` also supports generating multiple images at once:
`generateImage` also supports generating multiple images at once for models that support it:

```tsx highlight={"4"}
const { images } = await generateImage({
model: openai.image('dall-e-3'),
model: openai.image('dall-e-2'),
prompt: 'Santa Claus driving a Cadillac',
n: 4, // number of images to generate
});
Expand Down

0 comments on commit 81ed334

Please sign in to comment.