> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# ByteDance Models API - Access Seedream and Seedance via AIsa

> Current AIsa guide to ByteDance Seedream and Dreamina Seedance model IDs and endpoints, including Seedream 5.0 and Seedance 2.x routes through BytePlus.

AIsa routes ByteDance Seedream and Dreamina Seedance models through BytePlus, ByteDance's official international enterprise platform. Use one AIsa API key for Seedream image models and Seedance video models.

`seedream-5-0-260128` uses `POST /v1/images/generations` and is billed per request. Dreamina Seedance video models are asynchronous through `POST /v1/video/generations`.

## Supported ByteDance models

| Model ID | Type | Endpoints | Best for |
| - | - | - | - |
| `doubao-seedance-2-5-260628` | Video | `/v1/video/generations` | — |
| `dreamina-seedance-2-0-260128` | Video | `/v1/video/generations` | Dreamina Seedance video generation |
| `dreamina-seedance-2-0-fast-260128` | Video | `/v1/video/generations` | Faster, lower-cost Seedance video route |
| `dreamina-seedance-2-5` | Video | `/v1/video/generations` | Newer Dreamina Seedance video route |
| `seedream-5-0-260128` | Image | `/v1/images/generations` | Newer Seedream image route |

Current prices for these models are on [aisa.one/models](https://aisa.one/models).

The date suffix in each model string is a release/version stamp in `YYMMDD` format, useful when pinning a production route. Dreamina Seedance video models are asynchronous: submit the job to `POST /v1/video/generations`, then poll `/v1/video/generations/{task_id}`.

## Quickstart

```python theme={null}
from openai import OpenAI

client = OpenAI(api_key="YOUR_AISA_API_KEY", base_url="https://api.aisa.one/v1")

response = client.images.generate(
    model="seedream-5-0-260128",
    prompt="Create a clean product image of a glass water bottle on a white marble surface.",
    size="2048x2048",
)
print(response.data[0].url)
```

## Common choices

| Need | Use |
| - | - |
| Image generation/editing | `seedream-5-0-260128` |
| Video generation | `dreamina-seedance-2-0-260128` or `dreamina-seedance-2-0-fast-260128` |

## Data privacy

ByteDance Seedream and Seedance requests are routed through BytePlus enterprise infrastructure. For compliance and data residency requirements, [contact us](mailto:developer@aisa.one).

## Next

* [Model Catalog](https://aisa.one/docs/guides/models.md)
* [Qwen and Wan models](https://aisa.one/docs/models/qwen.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.