cURL
curl --request POST \
--url https://api.comfy.org/proxy/vidu/multiframe \
--header 'Content-Type: application/json' \
--data '
{
"image_settings": [
{
"key_image": "<string>",
"duration": 123,
"prompt": "<string>"
}
],
"model": "<string>",
"start_image": "<string>",
"callback_url": "<string>",
"payload": "<string>",
"resolution": "<string>"
}
'import requests
url = "https://api.comfy.org/proxy/vidu/multiframe"
payload = {
"image_settings": [
{
"key_image": "<string>",
"duration": 123,
"prompt": "<string>"
}
],
"model": "<string>",
"start_image": "<string>",
"callback_url": "<string>",
"payload": "<string>",
"resolution": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
image_settings: [{key_image: '<string>', duration: 123, prompt: '<string>'}],
model: '<string>',
start_image: '<string>',
callback_url: '<string>',
payload: '<string>',
resolution: '<string>'
})
};
fetch('https://api.comfy.org/proxy/vidu/multiframe', 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.comfy.org/proxy/vidu/multiframe",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'image_settings' => [
[
'key_image' => '<string>',
'duration' => 123,
'prompt' => '<string>'
]
],
'model' => '<string>',
'start_image' => '<string>',
'callback_url' => '<string>',
'payload' => '<string>',
'resolution' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.comfy.org/proxy/vidu/multiframe"
payload := strings.NewReader("{\n \"image_settings\": [\n {\n \"key_image\": \"<string>\",\n \"duration\": 123,\n \"prompt\": \"<string>\"\n }\n ],\n \"model\": \"<string>\",\n \"start_image\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"payload\": \"<string>\",\n \"resolution\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
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.comfy.org/proxy/vidu/multiframe")
.header("Content-Type", "application/json")
.body("{\n \"image_settings\": [\n {\n \"key_image\": \"<string>\",\n \"duration\": 123,\n \"prompt\": \"<string>\"\n }\n ],\n \"model\": \"<string>\",\n \"start_image\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"payload\": \"<string>\",\n \"resolution\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.comfy.org/proxy/vidu/multiframe")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"image_settings\": [\n {\n \"key_image\": \"<string>\",\n \"duration\": 123,\n \"prompt\": \"<string>\"\n }\n ],\n \"model\": \"<string>\",\n \"start_image\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"payload\": \"<string>\",\n \"resolution\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"credits": 123,
"task_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"image_settings": [
{
"key_image": "<string>",
"duration": 123,
"prompt": "<string>"
}
],
"model": "<string>",
"payload": "<string>",
"resolution": "<string>",
"start_image": "<string>"
}{
"details": [
"<string>"
],
"message": "<string>"
}{
"details": [
"<string>"
],
"message": "<string>"
}API Nodes
Post proxyvidumultiframe
POST
/
proxy
/
vidu
/
multiframe
cURL
curl --request POST \
--url https://api.comfy.org/proxy/vidu/multiframe \
--header 'Content-Type: application/json' \
--data '
{
"image_settings": [
{
"key_image": "<string>",
"duration": 123,
"prompt": "<string>"
}
],
"model": "<string>",
"start_image": "<string>",
"callback_url": "<string>",
"payload": "<string>",
"resolution": "<string>"
}
'import requests
url = "https://api.comfy.org/proxy/vidu/multiframe"
payload = {
"image_settings": [
{
"key_image": "<string>",
"duration": 123,
"prompt": "<string>"
}
],
"model": "<string>",
"start_image": "<string>",
"callback_url": "<string>",
"payload": "<string>",
"resolution": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
image_settings: [{key_image: '<string>', duration: 123, prompt: '<string>'}],
model: '<string>',
start_image: '<string>',
callback_url: '<string>',
payload: '<string>',
resolution: '<string>'
})
};
fetch('https://api.comfy.org/proxy/vidu/multiframe', 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.comfy.org/proxy/vidu/multiframe",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'image_settings' => [
[
'key_image' => '<string>',
'duration' => 123,
'prompt' => '<string>'
]
],
'model' => '<string>',
'start_image' => '<string>',
'callback_url' => '<string>',
'payload' => '<string>',
'resolution' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.comfy.org/proxy/vidu/multiframe"
payload := strings.NewReader("{\n \"image_settings\": [\n {\n \"key_image\": \"<string>\",\n \"duration\": 123,\n \"prompt\": \"<string>\"\n }\n ],\n \"model\": \"<string>\",\n \"start_image\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"payload\": \"<string>\",\n \"resolution\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
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.comfy.org/proxy/vidu/multiframe")
.header("Content-Type", "application/json")
.body("{\n \"image_settings\": [\n {\n \"key_image\": \"<string>\",\n \"duration\": 123,\n \"prompt\": \"<string>\"\n }\n ],\n \"model\": \"<string>\",\n \"start_image\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"payload\": \"<string>\",\n \"resolution\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.comfy.org/proxy/vidu/multiframe")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"image_settings\": [\n {\n \"key_image\": \"<string>\",\n \"duration\": 123,\n \"prompt\": \"<string>\"\n }\n ],\n \"model\": \"<string>\",\n \"start_image\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"payload\": \"<string>\",\n \"resolution\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"credits": 123,
"task_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"image_settings": [
{
"key_image": "<string>",
"duration": 123,
"prompt": "<string>"
}
],
"model": "<string>",
"payload": "<string>",
"resolution": "<string>",
"start_image": "<string>"
}{
"details": [
"<string>"
],
"message": "<string>"
}{
"details": [
"<string>"
],
"message": "<string>"
}Body
application/json
Configuration for intelligent multi-frame generation (2-9 frames)
Show child attributes
Show child attributes
Model name (viduq2-pro or viduq2-turbo)
The first frame image (Base64 or URL)
Callback URL for task status updates
Transparent transmission parameters (max 1048576 characters)
Video resolution (540p, 720p, 1080p)
Was this page helpful?
⌘I