Text to Image

wan2.7-image-pro

Wan2.7 Image Pro

POST /v1/images/generationsAsync generationFixed Credit pricing

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/images/generations" \
  -H "Authorization: Bearer $ARTANY_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: unique-request-id" \
  -d '{"model":"wan2.7-image-pro","prompt":"A cinematic coastal village at sunrise","count":1,"size":"1:1","resolution":"1K","thinking_mode":true,"enable_sequential":false}'

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.7-image-pro",
  "prompt": "A cinematic coastal village at sunrise",
  "count": 1,
  "size": "1:1",
  "resolution": "1K",
  "thinking_mode": true,
  "enable_sequential": false
}

Request Parameters

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

modelstringrequireddefault: "wan2.7-image-pro"

Stable public model ID for this request.

promptstringrequired

Text description for the image. Include subject, composition, style, lighting, and any required text.

Length: 1–12000

image_urlsarray

Reference images for image-to-image generation or editing.

Items: 1–9

countintegerdefault: 1

Number of images to generate.

Range: 1–12

Note:Send a JSON number rather than a quoted string.

sizestringdefault: "1:1"

Output image aspect ratio.

Allowed: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3

1:116:99:164:33:43:22:3
resolutionstringdefault: "1K"

Output resolution tier. Higher tiers affect output size and quote.

Allowed: 1K, 2K, 4K

1K2K4K
negative_promptstring

Visual content or characteristics to exclude.

Length: 1–12000

thinking_modebooleandefault: true

Enables the model's supported planning mode before image generation.

Allowed: false, true

enable_sequentialbooleandefault: false

Enables the supported sequential image-generation behavior.

Allowed: false, true

Response and task status

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

{
  "id": "job_…",
  "object": "generation.job",
  "model": "wan2.7-image-pro",
  "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.

Pricing

The price shown for a matching configuration is the fixed amount settled on successful completion. Price version: 2026-07-18.picverse-parity.

countCredits
111
222
333
444
555
666
777
888
999
10110
11121
12132