Skip to main content
Back to API Platform

WAN 2.7 Image Edit API

Alibaba WAN 2.7 image editing. Standard and Pro tiers, supports up to 9 input images for fusion edits. Integrate this model via REST with endpoint docs, parameters, and code examples.

Image Generation
Img2Img
Credit Cost
1 credit
Type
Image

API Endpoint

POST
/api/v1/models/wan-2.7-image-edit/run

Test This Model

Run a real request through the API pipeline and inspect the exact input and output your integration will handle. Uses your credits like any API call; failed runs are refunded automatically.

Parameters

Input parameters accepted by this model

ParameterTypeDefault
prompt
required
string
-
image_urls
required
array
-
size
enum
2K
seed
integer
-
bbox_list
array
-

See also

Related endpoints on this model — you may need a different apiId for a different operation (e.g. image edit vs generation).

Example Outputs

Real outputs generated by this model

swap the background for a neon-lit city street at night, keep the cyclist and bike identical
View Details

swap the background for a neon-lit city street at night, keep the cyclist and bike identical

1 credit
10.4s
the same man presenting a new smartphone toward the camera while standing at a marble desk, soft studio light, product-launch photo
View Details

the same man presenting a new smartphone toward the camera while standing at a marble desk, soft studio light, product-launch photo

1 credit
10.4s
cinematic rework of this photo: dramatic teal and orange color grade, volumetric window light, high contrast, film still
View Details

cinematic rework of this photo: dramatic teal and orange color grade, volumetric window light, high contrast, film still

1 credit
10.0s
a thrilling action sequence of a woman trying to find her favorite candy. The candy wrapper is purple with a pixelated dragon and reads "Pixel Dojo". The woman says "Gotta have that pixel dojo candy. with over 60 ai tools, it's basically zero calories."
View Details

a thrilling action sequence of a woman trying to find her favorite candy. The candy wrapper is purple with a pixelated dragon and reads "Pixel Dojo". The woman says "Gotta have that pixel dojo candy. with over 60 ai tools, it's basically zero calories."

1 credit
10.2s
a thrilling action sequence of a woman trying to find her favorite candy. The candy wrapper is purple with a pixelated dragon and reads "Pixel Dojo". The woman says "Gotta have that pixel dojo candy. with over 60 ai tools, it's basically zero calories."
View Details

a thrilling action sequence of a woman trying to find her favorite candy. The candy wrapper is purple with a pixelated dragon and reads "Pixel Dojo". The woman says "Gotta have that pixel dojo candy. with over 60 ai tools, it's basically zero calories."

1 credit
10.2s

Code Examples

Single image edit — copy and paste to get started

bash
curl -X POST "https://pixeldojo.ai/api/v1/models/wan-2.7-image-edit/run" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "make the sky stormy",
    "image_urls": [
      "https://..."
    ],
    "model": "wan-2.7-pro"
  }'

Response Format

Submit Response (202 Accepted)

json
{
  "jobId": "job_abc123...",
  "status": "pending",
  "statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123...",
  "creditCost": 1,
  "creditsRemaining": 95,
  "expiresAt": "2026-07-15T01:55:02Z"
}

Completed Response

json
{
  "jobId": "job_abc123...",
  "status": "completed",
  "output": {
    "images": [
      "https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.png"
    ]
  },
  "creditCost": 1,
  "expiresAt": "2026-07-15T01:55:02Z"
}