Skip to content

Commit

Permalink
fix (provider/luma): update README to correct model id and docs link (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
shaper authored Jan 26, 2025
1 parent 066206e commit ef594a3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/perfect-rockets-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/luma': patch
---

fix (provider/luma): update README to correct model id and docs link
6 changes: 4 additions & 2 deletions packages/luma/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Luma Photon and Photon Flash are groundbreaking image generation models that del
- Unique character consistency capabilities from single reference images
- Multi-image reference support for precise style matching

For more detailed information about the Luma models and their capabilities, please visit [Luma AI](https://lumalabs.ai/).

## Setup

The Luma provider is available in the `@ai-sdk/luma` module. You can install it with:
Expand All @@ -36,7 +38,7 @@ import { experimental_generateImage as generateImage } from 'ai';
import fs from 'fs';

const { image } = await generateImage({
model: luma.image('photon'),
model: luma.image('photon-1'),
prompt: 'A serene mountain landscape at sunset',
});

Expand All @@ -47,4 +49,4 @@ console.log(`Image saved to ${filename}`);

## Documentation

For more detailed information about the Luma models and their capabilities, please visit [Luma AI](https://lumalabs.ai/).
Please check out the **[Luma provider](https://sdk.vercel.ai/providers/ai-sdk-providers/luma)** for more information.

0 comments on commit ef594a3

Please sign in to comment.