Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore (docs): Use dall-e-2 for multi image generation example. #4203

Merged
merged 1 commit into from
Jan 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading