Skip to main content
POST
/
api
/
v3
/
alibaba
/
wan-2.5
/
image-edit
wan-2.5 (image edit)
curl --request POST \
  --url https://api.example.com/api/v3/alibaba/wan-2.5/image-edit
Edit and transform images based on text prompts using Qwen’s wan-2.5 model with GPTProto format API.
curl --location 'https://gptproto.com/api/v3/alibaba/wan-2.5/image-edit' \
--header 'Authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
  "prompt": "Turn into ghibli style.",
    "images": [
        "https://oss.heyoos.com//gptproto/images-6e236488-506a-4978-8b6a-39adb68206f3.jpeg"
    ],
    "size": "1280*1786",
    "seed": -1
}'

Response

{
  "data": {
    "id": "abc123def456",
    "model": "alibaba/wan-2.5/image-edit",
    "outputs": [],
    "urls": {
      "get": "https://gptproto.com/api/v3/predictions/abc123def456/result"
    },
    "status": "created",
    "createdAt": "2025-12-01T10:00:00.000Z",
    "error": "",
    "executionTime": 0
  },
  "message": "success",
  "code": 200
}

Parameters

ParameterTypeRequiredDefaultDescription
promptstring✅ Yes-Text description of the desired image transformation or editing instructions
imagesarray✅ Yes-Array of image URLs to be edited. Supports one or multiple input images
sizestring❌ No-The size of the output image in pixels (widthheight), e.g., “12801786”
seedinteger❌ No-1Random seed for generation reproducibility. Set to -1 for random generation