# Wan 2.5 Image to Image · Image To Image

Edit and enhance images with Wan 2.5 Image to Image · Image 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/wan-25-preview/image-to-image`
- Page: https://spiral.ai/tools/fal/fal-ai/wan-25-preview/image-to-image

## Pricing

$0.065 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 describing how to edit the image. Max 2000 characters. |
| `image_urls` (required) | URLs or files |  | — | URLs of images to edit. For single-image editing, provide 1 URL. For multi-reference generation, provide up to 2 URLs. If more than 2 URLs are provided, only the first 2 will be used. |
| `negative_prompt` | text |  | — | Negative prompt to describe content to avoid. Max 500 characters. |
| `image_size` | JSON |  | square | The size of the generated image. Width and height must be between 384 and 1440 pixels. |
| `num_images` | number (whole) | 1 to 4 | 1 | Number of images to generate. Values from 1 to 4. |
| `seed` | number (whole) |  | — | Random seed for reproducibility. If None, a random seed is chosen. |

## 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/wan-25-preview/image-to-image",
    "input": {
      "prompt": "Reimagine the scene under a raging thunderstorm at night: lightning forks across the sky, illuminating the samurai in stark flashes of white light.",
      "image_urls": [
        "<image_urls>"
      ]
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=fal&model=fal-ai%2Fwan-25-preview%2Fimage-to-image

## Common questions

### Wan 2.5 Image to Image · Image To Image

**How much does Wan 2.5 Image to Image · Image To Image cost?**

$0.065 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 Wan 2.5 Image to Image · Image To Image through an API?**

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/wan-25-preview/image-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 Wan 2.5 Image to Image · Image To Image?**

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

**Can my AI agent use Wan 2.5 Image to Image · Image To Image?**

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

