# Bytedance Dreamactor V2

Edit and transform video with Bytedance Dreamactor V2 from fal through one Spiral API key. It runs in the background and returns video. Pay as you go, with no subscription.

- Provider: fal
- Category: Video
- Runs: In the background
- Returns: video
- Tool id: `fal` / `fal-ai/bytedance/dreamactor/v2`
- Page: https://spiral.ai/tools/fal/fal-ai/bytedance/dreamactor/v2

## Pricing

Up to $3.90 per run at the default inputs for 60 seconds of input.

## Limits

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

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `image_url` (required) | URL or file |  | — | The URL of the reference image to animate. Supports real people, animation, pets, etc. Format: jpeg, jpg or png. Max size: 4.7 MB. Resolution: between 480x480 and 1920x1080 (larger images will be proportionally reduced). |
| `video_url` (required) | URL or file |  | — | The URL of the driving template video providing motion, facial expressions, and lip movement reference. Max duration: 30 seconds. Format: mp4, mov or webm. Resolution: between 200x200 and 2048x1440. Supports full face and body driving. |
| `trim_first_second` | true or false |  | true | Whether to crop the first second of the output video. The output has a 1-second transition at the beginning; enable this to remove it. |

## 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/dreamactor/v2",
    "input": {
      "image_url": "https://storage.googleapis.com/falserverless/example_inputs/omnihuman.png",
      "video_url": "https://storage.googleapis.com/falserverless/example_outputs/omnihuman_output.mp4"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=fal&model=fal-ai%2Fbytedance%2Fdreamactor%2Fv2

## Common questions

### Bytedance Dreamactor V2

**How much does Bytedance Dreamactor V2 cost?**

Up to $3.90 per run at the default inputs for 60 seconds of input. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Bytedance Dreamactor V2 through an API?**

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/bytedance/dreamactor/v2"` 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 Dreamactor V2?**

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

**Can my AI agent use Bytedance Dreamactor V2?**

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

