Wan-2.5 - Image To Video - gptproto
Wan-2.5 — Image To Video (gptproto). GPTProto API reference.
POST
/
api
/
v3
/
alibaba
/
wan-2.5
/
image-to-video-fast
wan-2.5 (image to video)
curl --request POST \
--url https://api.example.com/api/v3/alibaba/wan-2.5/image-to-video-fastimport requests
url = "https://api.example.com/api/v3/alibaba/wan-2.5/image-to-video-fast"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/api/v3/alibaba/wan-2.5/image-to-video-fast', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v3/alibaba/wan-2.5/image-to-video-fast",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v3/alibaba/wan-2.5/image-to-video-fast"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/v3/alibaba/wan-2.5/image-to-video-fast")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v3/alibaba/wan-2.5/image-to-video-fast")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyQwen’s GPTProto format for the image to video API.
curl --location 'https://gptproto.com/api/v3/alibaba/wan-2.5/image-to-video' \
--header 'Authorization: sk-xx' \
--header 'Content-Type: application/json' \
--data '{
"image": "https://d1q70pf5vjeyhc.cloudfront.net/media/fb8f674bbb1a429d947016fd223cfae1/images/1758532447268876299_CLRNKHEA.jpeg",
"audio": "",
"prompt": "A confident woman in her 40s stands on a stage with a microphone. The background shows a large LED screen with abstract visuals. She smiles and begins speaking to the audience: “Good evening everyone. Tonight, I want to share three powerful lessons about leadership and innovation.” Her lip movements match her voice, and she uses expressive hand gestures while speaking.",
"negative_prompt": "",
"resolution": "720p",
"duration": 5,
"enable_prompt_expansion": false,
"seed": -1
}'
{
"error": {
"message": "Invalid signature",
"type": "401"
}
}
{
"error": {
"message": "Insufficient balance",
"type": "403"
}
}
{
"error": {
"message": "Internal server error",
"type": "500"
}
}
{
"error": {
"message": "Input may not meet the guidelines. Please adjust and try again.",
"type": "503"
}
}
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
image | string | ✅ Yes | - | The image for generating the output. |
audio | string | ❌ No | - | Audio URL to guide generation (optional). |
prompt | string | ✅ Yes | - | The positive prompt for the generation. |
negative_prompt | string | ✅ Yes | - | The negative prompt for the generation. |
resolution | string | ❌ No | 720p | 480p, 720p, 1080p . The resolution of the generated media. |
duration | integer | ❌ No | 5 | 3, 4, 5, 6, 7, 8, 9, 10 . The duration of the generated media in seconds. |
enable_prompt_expansion | boolean | ❌ No | false | If set to true, the prompt optimizer will be enabled. |
seed | integer | ❌ No | -1 | -1 ~ 2147483647 . The random seed to use for the generation. -1 means a random seed will be used. |
{
"data": {
"id": "5d87273c75exxxx",
"model": "alibaba/wan-2.5/image-to-video",
"outputs": [],
"urls": {
"get": "https://gptproto.com/api/v3/predictions/5d87273c75exxxx/result"
},
"hasNsfwContents": [],
"status": "created",
"createdAt": "2025-11-10T09:50:05.977Z",
"error": "",
"executionTime": 0,
"timings": {
"inference": 0
}
},
"message": "success",
"code": 200
}
⌘I

