Image to Video

wan2.6-i2v-flash

Wan 2.6 image-to-video generation.

Commercial useAsync APIfrom 56 Credits

API reference

Submit this model to the capability endpoint, then poll the returned job until it is terminal. Only the parameters below are accepted.

POST /v1/videos/generations

Required headers

Authorization: Bearer $ARTANY_API_KEY
Content-Type: application/json
Idempotency-Key: unique-request-id

Use a new 8–128 character Idempotency-Key for each logical generation. Retrying the same request with the same key will not double-charge.

Request body

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

Parameters

FieldTypeRequiredDescriptionDefaultConstraints
modelstringYesStable Artany public model ID.wan2.6-i2v-flashThis exact public model ID.
seedintegerNoOptional deterministic seed for reproducing a generation when the provider supports it.Range: 0–∞
audiobooleanNoAudio mode or audio-generation option supported by this video model.true
promptstringNoNatural-language instruction describing the desired image or video. Include subject, setting, composition, motion, lighting, and style as needed.
durationintegerNoTarget generated video length in seconds. Available durations are model-specific and can affect price.5Range: 2–15
audio_urlstringNoPublic URL of the audio input used when the selected workflow accepts an audio reference.
shot_typestringNoCamera or shot mode supported by the selected video model.Allowed: single, multi
image_urlsarray (string items)YesPublic image URLs or supported image data used as source or reference images.Items: 1–1
resolutionstringNoRequested output quality tier. Available values are model-specific and can affect price."1080p"Allowed: 720p, 1080p
prompt_extendbooleanNoWhether to let the model expand the prompt before generation.true
negative_promptstringNoElements, styles, or visual characteristics to avoid in the generated result.Length: 0–500

Accepted response

The submit endpoint returns HTTP 202 with a normalized job. Poll GET /v1/jobs/{jobId} until the status is terminal.

{
  "id": "job_…",
  "object": "generation.job",
  "model": "wan2.6-i2v-flash",
  "status": "queued",
  "progress": 0,
  "output": null,
  "error": null,
  "billing": {
    "estimated_credits": "56",
    "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
}

Lifecycle and failures

  • queued / running — wait and poll again.
  • succeeded — read output URLs from output; the actual charge is settled.
  • failed / canceled — inspect error; frozen Credits are released.
  • For a schema error, the API returns an error object and identifies the invalid field in param when applicable.

Input

Runs are billed to your Credits at the listed price — same engine as the public API.

Output

Run the model to see results here

Integrate in minutes

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-flash","image_urls":["https://example.com/first-frame.jpg"],"prompt":"The character smiles and waves at the camera","resolution":"1080p","duration":5,"audio":true,"prompt_extend":true}'

# poll until terminal
curl "https://api.artany.ai/v1/jobs/{job_id}" \
  -H "Authorization: Bearer $ARTANY_API_KEY"