Skip to content

Commit

Permalink
fix (docs): include prefix on fal model ids (#4796)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaper authored Feb 10, 2025
1 parent 29b07ad commit e6ca32b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions content/docs/03-ai-sdk-core/35-image-generation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,12 @@ try {
| [Luma](/providers/ai-sdk-providers/luma#image-models) | `photon-1` | 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9 |
| [Luma](/providers/ai-sdk-providers/luma#image-models) | `photon-flash-1` | 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9 |
| [Fal](/providers/ai-sdk-providers/fal#image-models) | `fal-ai/flux/dev` | 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9 |
| [Fal](/providers/ai-sdk-providers/fal#image-models) | `fast-sdxl` | 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9 |
| [Fal](/providers/ai-sdk-providers/fal#image-models) | `flux-pro/v1.1-ultra` | 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9 |
| [Fal](/providers/ai-sdk-providers/fal#image-models) | `ideogram/v2` | 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9 |
| [Fal](/providers/ai-sdk-providers/fal#image-models) | `recraft-v3` | 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9 |
| [Fal](/providers/ai-sdk-providers/fal#image-models) | `stable-diffusion-3.5-large` | 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9 |
| [Fal](/providers/ai-sdk-providers/fal#image-models) | `hyper-sdxl` | 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9 |
| [Fal](/providers/ai-sdk-providers/fal#image-models) | `fal-ai/fast-sdxl` | 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9 |
| [Fal](/providers/ai-sdk-providers/fal#image-models) | `fal-ai/flux-pro/v1.1-ultra` | 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9 |
| [Fal](/providers/ai-sdk-providers/fal#image-models) | `fal-ai/ideogram/v2` | 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9 |
| [Fal](/providers/ai-sdk-providers/fal#image-models) | `fal-ai/recraft-v3` | 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9 |
| [Fal](/providers/ai-sdk-providers/fal#image-models) | `fal-ai/stable-diffusion-3.5-large` | 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9 |
| [Fal](/providers/ai-sdk-providers/fal#image-models) | `fal-ai/hyper-sdxl` | 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9 |
| [Together.ai](/providers/ai-sdk-providers/togetherai#image-models) | `stabilityai/stable-diffusion-xl-base-1.0` | 512x512, 768x768, 1024x1024 |
| [Together.ai](/providers/ai-sdk-providers/togetherai#image-models) | `black-forest-labs/FLUX.1-dev` | 512x512, 768x768, 1024x1024 |
| [Together.ai](/providers/ai-sdk-providers/togetherai#image-models) | `black-forest-labs/FLUX.1-dev-lora` | 512x512, 768x768, 1024x1024 |
Expand Down
18 changes: 9 additions & 9 deletions content/providers/01-ai-sdk-providers/90-fal.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ import { experimental_generateImage as generateImage } from 'ai';
import fs from 'fs';

const { image } = await generateImage({
model: fal.image('fast-sdxl'),
model: fal.image('fal-ai/fast-sdxl'),
prompt: 'A serene mountain landscape at sunset',
});

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

Fal offers many models optimized for different use cases. Here are a few popular examples. For a full list of models, see the [Fal AI documentation](https://fal.ai/models).

| Model | Description |
| ---------------------------- | -------------------------------------------------------------------------------------- |
| `fast-sdxl` | High-speed SDXL model optimized for quick inference with up to 4x faster speeds |
| `flux-pro/v1.1-ultra` | Professional-grade image generation with up to 2K resolution and enhanced photorealism |
| `ideogram/v2` | Specialized for high-quality posters and logos with exceptional typography handling |
| `recraft-v3` | SOTA in image generation with vector art and brand style capabilities |
| `stable-diffusion-3.5-large` | Advanced MMDiT model with improved typography and complex prompt understanding |
| `hyper-sdxl` | Performance-optimized SDXL variant with enhanced creative capabilities |
| Model | Description |
| ----------------------------------- | -------------------------------------------------------------------------------------- |
| `fal-ai/fast-sdxl` | High-speed SDXL model optimized for quick inference with up to 4x faster speeds |
| `fal-ai/flux-pro/v1.1-ultra` | Professional-grade image generation with up to 2K resolution and enhanced photorealism |
| `fal-ai/ideogram/v2` | Specialized for high-quality posters and logos with exceptional typography handling |
| `fal-ai/recraft-v3` | SOTA in image generation with vector art and brand style capabilities |
| `fal-ai/stable-diffusion-3.5-large` | Advanced MMDiT model with improved typography and complex prompt understanding |
| `fal-ai/hyper-sdxl` | Performance-optimized SDXL variant with enhanced creative capabilities |

Fal models support the following aspect ratios:

Expand Down

0 comments on commit e6ca32b

Please # to comment.