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

# seedance-1.0-pro-fast

> Seedance 1.0 Pro Fast text-to-video and image-to-video API.

Use `doubao-seedance-1-0-pro-fast-251015` with `POST /v1/video/generations` for both Seedance 1.0 Pro Fast workflows.

<Tabs sync={false}>
  <Tab title="Text to video">
    ## Create task

    `POST /v1/video/generations`

    ```bash cURL theme={null}
    curl --request POST \
      --url https://www.anyfast.ai/v1/video/generations \
      --header 'Authorization: Bearer <token>' \
      --header 'Content-Type: application/json' \
      --data '{"model":"doubao-seedance-1-0-pro-fast-251015","content":[{"type":"text","text":"A cat walking through sunflowers at golden hour"}],"ratio":"16:9","resolution":"1080p","duration":5,"watermark":false}'
    ```

    ## Request body

    <ParamField body="model" type="string" required>Must be `doubao-seedance-1-0-pro-fast-251015`.</ParamField>
    <ParamField body="content" type="object[]" required>Must contain one text item with `type: "text"` and a `text` prompt.</ParamField>
    <ParamField body="ratio" type="string" default="16:9">`16:9`, `4:3`, `1:1`, `3:4`, `9:16`, or `21:9`. `adaptive` is not supported for text-to-video.</ParamField>
    <ParamField body="resolution" type="string" default="1080p">`480p`, `720p`, or `1080p`.</ParamField>
    <ParamField body="duration" type="integer" default={5}>Video duration from 2 to 12 seconds.</ParamField>
    <ParamField body="watermark" type="boolean" default={false}>Whether to include a watermark.</ParamField>
    <ParamField body="seed" type="integer">Random seed for reproducibility.</ParamField>
    <ParamField body="camera_fixed" type="boolean" default={false}>Whether to fix the camera position.</ParamField>
  </Tab>

  <Tab title="Image to video">
    ## Create task

    `POST /v1/video/generations`

    ```bash cURL theme={null}
    curl --request POST \
      --url https://www.anyfast.ai/v1/video/generations \
      --header 'Authorization: Bearer <token>' \
      --header 'Content-Type: application/json' \
      --data '{"model":"doubao-seedance-1-0-pro-fast-251015","content":[{"type":"text","text":"The girl opens her eyes and looks at the camera gently"},{"type":"image_url","image_url":{"url":"https://example.com/photo.jpg"},"role":"first_frame"}],"ratio":"adaptive","resolution":"1080p","duration":5,"watermark":false}'
    ```

    ## Request body

    <ParamField body="model" type="string" required>Must be `doubao-seedance-1-0-pro-fast-251015`.</ParamField>
    <ParamField body="content" type="object[]" required>Multimodal content containing a text prompt and one or more reference images.</ParamField>
    <ParamField body="content[].type" type="string" required>Use `text` for the prompt and `image_url` for a reference image.</ParamField>
    <ParamField body="content[].image_url.url" type="string">Public URL of the reference image.</ParamField>
    <ParamField body="content[].role" type="string">`first_frame` or `last_frame` for the reference image role.</ParamField>
    <ParamField body="ratio" type="string" default="16:9">`16:9`, `4:3`, `1:1`, `3:4`, `9:16`, `21:9`, or `adaptive`.</ParamField>
    <ParamField body="resolution" type="string" default="1080p">`480p`, `720p`, or `1080p`.</ParamField>
    <ParamField body="duration" type="integer" default={5}>Video duration from 2 to 12 seconds.</ParamField>
    <ParamField body="watermark" type="boolean" default={false}>Whether to include a watermark.</ParamField>
    <ParamField body="seed" type="integer">Random seed for reproducibility.</ParamField>
    <ParamField body="camera_fixed" type="boolean" default={false}>Whether to fix the camera position.</ParamField>
  </Tab>
</Tabs>

## Request headers

<ParamField header="Authorization" type="string" required>Bearer authentication in the form `Bearer &lt;token&gt;`.</ParamField>
<ParamField header="Content-Type" type="string" default="application/json" required>Request body format.</ParamField>

## Response

```json 200 theme={null}
{"id":"gen-abc123","model":"doubao-seedance-1-0-pro-fast-251015","status":"processing","created_at":1773130665}
```

<ResponseField name="id" type="string">Created task ID.</ResponseField>
<ResponseField name="model" type="string">Model used for task creation.</ResponseField>
<ResponseField name="status" type="string">Initial task status.</ResponseField>
<ResponseField name="created_at" type="integer">Task creation Unix timestamp in seconds.</ResponseField>

## Error responses

* `401 Unauthorized` — The API key is missing or invalid.
* `429 Rate limit exceeded` — The request exceeded the applicable rate limit.

<script src="/feedback.js" />
