Image to Video

wan2.6-i2v

Wan 2.6 image-to-video generation.

POST /v1/videos/generationsAsync generation

Quick start

Submit a request with this public model ID. The API immediately returns a normalized job; poll GET /v1/jobs/{jobId} while its status is queued or running.

curl -X POST "https://api.artany.ai/v1/videos/generations" \
  -H "Authorization: Bearer $ARTANY_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: unique-request-id" \
  -d '{"model":"wan2.6-i2v","image_urls":["https://example.com/first-frame.jpg"],"prompt":"The character smiles and waves at the camera","resolution":"1080p","duration":5,"prompt_extend":true}'

Request

Headers

HeaderRequiredDescription
AuthorizationYesBearer token for an Artany API key.
Content-TypeYesMust be application/json.
Idempotency-KeyRecommended8–128 characters. Reusing it with an identical request prevents duplicate jobs and charges.

Body

{
  "model": "wan2.6-i2v",
  "image_urls": [
    "https://example.com/first-frame.jpg"
  ],
  "prompt": "The character smiles and waves at the camera",
  "resolution": "1080p",
  "duration": 5,
  "prompt_extend": true
}

Request Parameters

Only fields in this model’s public request contract are shown. Defaults are applied before validation and quoting.

Note:Image-to-video workflow. Provide an image, then describe the desired motion and camera action.

modelstringrequireddefault: "wan2.6-i2v"

Stable public model ID for this request.

image_urlsarray<string>required

Source image array for image-to-video generation.

Items: 1–1

Note:At least one image is required; use the count and URL limits shown in the schema.

promptstring

Motion and scene instruction for the source image. Describe movement, camera behavior, and visual changes.

negative_promptstring

Content or visual characteristics to avoid.

Length: 0–500

resolutionstringdefault: "1080p"

Output resolution tier.

Allowed: 720p, 1080p

720p1080p
durationintegerdefault: 5

Requested video duration in seconds.

Range: 2–15

prompt_extendbooleandefault: true

Whether to enrich the prompt before generation.

shot_typestring

Camera treatment for the supported workflow.

Allowed: single, multi

singlemulti
seedinteger

Optional seed that influences generation randomness.

Range: 0–∞

Use Cases

Choose the request shape that matches the source media you provide. The examples use the public model ID and accepted public fields.

Image-to-video

Provide an image before describing motion.

{
  "model": "wan2.6-i2v",
  "prompt": "The character smiles and waves at the camera",
  "image_urls": [
    "https://example.com/first-frame.jpg"
  ],
  "duration": 5,
  "resolution": "1080p",
  "prompt_extend": true
}

Response and task status

A successful asynchronous submission returns HTTP 202 with a supplier-neutral job.

{
  "id": "job_…",
  "object": "generation.job",
  "model": "wan2.6-i2v",
  "status": "queued",
  "progress": 0,
  "output": null,
  "error": null,
  "billing": {
    "estimated_credits": "…",
    "frozen_credits": "…",
    "charged_credits": "0",
    "state": "frozen",
    "price_version": "2026-07-18.picverse-parity"
  },
  "created_at": "2026-07-21T00:00:00.000Z",
  "completed_at": null
}
  • queued / running: continue polling.
  • succeeded: retrieve media URLs from output; billing has settled.
  • failed / canceled: inspect error; frozen Credits are released.