# Bytedance Seedream V4.5 Text To Image · Text to Image

Generate images from text with Bytedance Seedream V4.5 Text To Image · Text to Image from fal through one Spiral API key. It runs in the background and returns images. Pay as you go, with no subscription.

- Provider: fal
- Category: Image
- Runs: In the background
- Returns: image
- Tool id: `fal` / `fal-ai/bytedance/seedream/v4.5/text-to-image`
- Page: https://spiral.ai/tools/fal/fal-ai/bytedance/seedream/v4.5/text-to-image

## Pricing

$0.052 per image. Billed on `num_images`, default 1.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 30 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `prompt` (required) | text |  | — | The text prompt used to generate the image |
| `image_size` | JSON |  | {"width":2048,"height":2048} | The size of the generated image. Width and height must be between 1920 and 4096, or total number of pixels must be between 2560*1440 and 4096*4096. |
| `num_images` | number (whole) | 1 to 6 | 1 | Number of separate model generations to be run with the prompt. |
| `max_images` | number (whole) | 1 to 6 | 1 | If set to a number greater than one, enables multi-image generation. The model will potentially return up to `max_images` images every generation, and in total, `num_images` generations will be carried out. In total, the number of images generated will be between `num_images` and `max_images*num_images`. |
| `seed` | number (whole) |  | — | Random seed to control the stochasticity of image generation. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/bytedance/seedream/v4.5/text-to-image",
    "input": {
      "prompt": "A selfie of a cat, with the cat as the protagonist. The setting is twilight at the Eiffel Tower. The cat is happy, holding a piece of baklava in its paw. The…"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=fal&model=fal-ai%2Fbytedance%2Fseedream%2Fv4.5%2Ftext-to-image

## Common questions

### Bytedance Seedream V4.5 Text To Image · Text to Image

**How much does Bytedance Seedream V4.5 Text To Image · Text to Image cost?**

$0.052 per image. Billed on `num_images`, default 1. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Bytedance Seedream V4.5 Text To Image · Text to Image through an API?**

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/bytedance/seedream/v4.5/text-to-image"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with fal to use Bytedance Seedream V4.5 Text To Image · Text to Image?**

No. Spiral runs it on its own fal account and charges your Spiral balance.

**Can my AI agent use Bytedance Seedream V4.5 Text To Image · Text to Image?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

