注册

Sora 统一查询 - QuickRouter API 中转接口

GET https://api.quickrouter.ai/v1/video/query 在线调试 →
Authorization

在 Header 添加参数 Authorization,其值为 Bearer 之后拼接 Token

示例: Authorization: Bearer ********************

概述

给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 为提供的提示和参数创建完成

请求参数

Query 参数
id string
必需
任务ID 示例: sora-2:task_01kbfq03gpe0wr9ge11z09xqrj
Header 参数
Content-Type string
必需
示例: application/json
Accept string
必需
示例: application/json
Authorization string
可选
示例: Bearer {{YOUR_API_KEY}} X-Forwarded-Host
string
可选
示例: api.quickrouter.ai
Body 参数 application/json
multipart/form-data
可选
object
可选
请求
示例
{
    "id": "sora-2:task_01k6x15vhrff09dkkqjrzwhm60",
    "detail": {
        "id": "task_01k6x15vhrff09dkkqjrzwhm60",
        "input": {
            "size": "small",
            "model": "sy_ore",
            "images": [
                "https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png",
                "https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png"
            ],
            "prompt": "make animate",
            "orientation": "portrait"
        },
        "status": "pending",
        "pending_info": {
            "id": "task_01k6x15vhrff09dkkqjrzwhm60",
            "seed": null,
            "type": "video_gen",
            "user": "user-a1sGDUIOXV32hNITe59LEkHa",
            "model": "sy_8",
            "title": "New Video",
            "width": 352,
            "height": 640,
            "prompt": "make animate",
            "sdedit": null,
            "status": "processing",
            "actions": null,
            "guidance": null,
            "n_frames": 450,
            "priority": 2,
            "operation": "simple_compose",
            "preset_id": null,
            "created_at": "2025-10-06T15:10:26.875729Z",
            "n_variants": 1,
            "project_id": null,
            "request_id": null,
            "generations": [],
            "tracking_id": null,
            "progress_pct": 0.9302178175176704,
            "remix_config": null,
            "inpaint_items": [
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tnzezbst05sth2qgd8r",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                },
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tzafwztz74t018v3enw",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                }
            ],
            "interpolation": null,
            "is_storyboard": null,
            "failure_reason": null,
            "organization_id": null,
            "moderation_result": {
                "code": null,
                "type": "passed",
                "task_id": "task_01k6x15vhrff09dkkqjrzwhm60",
                "is_output_rejection": false,
                "results_by_frame_index": {}
            },
            "needs_user_review": false,
            "queue_status_message": null,
            "progress_pos_in_queue": null,
            "num_unsafe_generations": 0,
            "estimated_queue_wait_time": null
        }
    },
    "status": "pending",
    "status_update_time": 1759763621142
}

请求示例代码

curl --location --request GET 'https://api.quickrouter.ai/v1/video/query' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
    "id": "sora-2:task_01k6x15vhrff09dkkqjrzwhm60",
    "detail": {
        "id": "task_01k6x15vhrff09dkkqjrzwhm60",
        "input": {
            "size": "small",
            "model": "sy_ore",
            "images": [
                "https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png",
                "https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png"
            ],
            "prompt": "make animate",
            "orientation": "portrait"
        },
        "status": "pending",
        "pending_info": {
            "id": "task_01k6x15vhrff09dkkqjrzwhm60",
            "seed": null,
            "type": "video_gen",
            "user": "user-a1sGDUIOXV32hNITe59LEkHa",
            "model": "sy_8",
            "title": "New Video",
            "width": 352,
            "height": 640,
            "prompt": "make animate",
            "sdedit": null,
            "status": "processing",
            "actions": null,
            "guidance": null,
            "n_frames": 450,
            "priority": 2,
            "operation": "simple_compose",
            "preset_id": null,
            "created_at": "2025-10-06T15:10:26.875729Z",
            "n_variants": 1,
            "project_id": null,
            "request_id": null,
            "generations": [],
            "tracking_id": null,
            "progress_pct": 0.9302178175176704,
            "remix_config": null,
            "inpaint_items": [
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tnzezbst05sth2qgd8r",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                },
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tzafwztz74t018v3enw",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                }
            ],
            "interpolation": null,
            "is_storyboard": null,
            "failure_reason": null,
            "organization_id": null,
            "moderation_result": {
                "code": null,
                "type": "passed",
                "task_id": "task_01k6x15vhrff09dkkqjrzwhm60",
                "is_output_rejection": false,
                "results_by_frame_index": {}
            },
            "needs_user_review": false,
            "queue_status_message": null,
            "progress_pos_in_queue": null,
            "num_unsafe_generations": 0,
            "estimated_queue_wait_time": null
        }
    },
    "status": "pending",
    "status_update_time": 1759763621142
}'
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Authorization", "Bearer YOUR_API_KEY");

var raw = JSON.stringify({
    "id": "sora-2:task_01k6x15vhrff09dkkqjrzwhm60",
    "detail": {
        "id": "task_01k6x15vhrff09dkkqjrzwhm60",
        "input": {
            "size": "small",
            "model": "sy_ore",
            "images": [
                "https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png",
                "https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png"
            ],
            "prompt": "make animate",
            "orientation": "portrait"
        },
        "status": "pending",
        "pending_info": {
            "id": "task_01k6x15vhrff09dkkqjrzwhm60",
            "seed": null,
            "type": "video_gen",
            "user": "user-a1sGDUIOXV32hNITe59LEkHa",
            "model": "sy_8",
            "title": "New Video",
            "width": 352,
            "height": 640,
            "prompt": "make animate",
            "sdedit": null,
            "status": "processing",
            "actions": null,
            "guidance": null,
            "n_frames": 450,
            "priority": 2,
            "operation": "simple_compose",
            "preset_id": null,
            "created_at": "2025-10-06T15:10:26.875729Z",
            "n_variants": 1,
            "project_id": null,
            "request_id": null,
            "generations": [],
            "tracking_id": null,
            "progress_pct": 0.9302178175176704,
            "remix_config": null,
            "inpaint_items": [
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tnzezbst05sth2qgd8r",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                },
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tzafwztz74t018v3enw",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                }
            ],
            "interpolation": null,
            "is_storyboard": null,
            "failure_reason": null,
            "organization_id": null,
            "moderation_result": {
                "code": null,
                "type": "passed",
                "task_id": "task_01k6x15vhrff09dkkqjrzwhm60",
                "is_output_rejection": false,
                "results_by_frame_index": {}
            },
            "needs_user_review": false,
            "queue_status_message": null,
            "progress_pos_in_queue": null,
            "num_unsafe_generations": 0,
            "estimated_queue_wait_time": null
        }
    },
    "status": "pending",
    "status_update_time": 1759763621142
});

var requestOptions = {
   method: 'GET',
   headers: myHeaders,
   body: raw,
   redirect: 'follow'
};

fetch("https://api.quickrouter.ai/v1/video/query", requestOptions)
   .then(response => response.text())
   .then(result => console.log(result))
   .catch(error => console.log('error', error));
import java.io.*;
import java.net.*;
import java.util.*;

URL url = new URL("https://api.quickrouter.ai/v1/video/query");
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod("GET");
conn.setRequestProperty("Accept", "application/json");
conn.setRequestProperty("Authorization", "Bearer YOUR_API_KEY");
conn.setDoOutput(true);
String jsonInputString = "{
    \"id\": \"sora-2:task_01k6x15vhrff09dkkqjrzwhm60\",
    \"detail\": {
        \"id\": \"task_01k6x15vhrff09dkkqjrzwhm60\",
        \"input\": {
            \"size\": \"small\",
            \"model\": \"sy_ore\",
            \"images\": [
                \"https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png\",
                \"https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png\"
            ],
            \"prompt\": \"make animate\",
            \"orientation\": \"portrait\"
        },
        \"status\": \"pending\",
        \"pending_info\": {
            \"id\": \"task_01k6x15vhrff09dkkqjrzwhm60\",
            \"seed\": null,
            \"type\": \"video_gen\",
            \"user\": \"user-a1sGDUIOXV32hNITe59LEkHa\",
            \"model\": \"sy_8\",
            \"title\": \"New Video\",
            \"width\": 352,
            \"height\": 640,
            \"prompt\": \"make animate\",
            \"sdedit\": null,
            \"status\": \"processing\",
            \"actions\": null,
            \"guidance\": null,
            \"n_frames\": 450,
            \"priority\": 2,
            \"operation\": \"simple_compose\",
            \"preset_id\": null,
            \"created_at\": \"2025-10-06T15:10:26.875729Z\",
            \"n_variants\": 1,
            \"project_id\": null,
            \"request_id\": null,
            \"generations\": [],
            \"tracking_id\": null,
            \"progress_pct\": 0.9302178175176704,
            \"remix_config\": null,
            \"inpaint_items\": [
                {
                    \"type\": \"image\",
                    \"preset_id\": null,
                    \"crop_bounds\": null,
                    \"frame_index\": 0,
                    \"cameo_file_id\": null,
                    \"generation_id\": null,
                    \"upload_media_id\": \"media_01k6x15tnzezbst05sth2qgd8r\",
                    \"source_end_frame\": 0,
                    \"uploaded_file_id\": null,
                    \"source_start_frame\": 0
                },
                {
                    \"type\": \"image\",
                    \"preset_id\": null,
                    \"crop_bounds\": null,
                    \"frame_index\": 0,
                    \"cameo_file_id\": null,
                    \"generation_id\": null,
                    \"upload_media_id\": \"media_01k6x15tzafwztz74t018v3enw\",
                    \"source_end_frame\": 0,
                    \"uploaded_file_id\": null,
                    \"source_start_frame\": 0
                }
            ],
            \"interpolation\": null,
            \"is_storyboard\": null,
            \"failure_reason\": null,
            \"organization_id\": null,
            \"moderation_result\": {
                \"code\": null,
                \"type\": \"passed\",
                \"task_id\": \"task_01k6x15vhrff09dkkqjrzwhm60\",
                \"is_output_rejection\": false,
                \"results_by_frame_index\": {}
            },
            \"needs_user_review\": false,
            \"queue_status_message\": null,
            \"progress_pos_in_queue\": null,
            \"num_unsafe_generations\": 0,
            \"estimated_queue_wait_time\": null
        }
    },
    \"status\": \"pending\",
    \"status_update_time\": 1759763621142
}";
try(OutputStream os = conn.getOutputStream()) {
    byte[] input = jsonInputString.getBytes("utf-8");
    os.write(input, 0, input.length);
}
int responseCode = conn.getResponseCode();
System.out.println("Response Code: " + responseCode);
import Foundation

let urlString = "https://api.quickrouter.ai/v1/video/query"
guard let url = URL(string: urlString) else { return }
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.addValue("application/json", forHTTPHeaderField: "Accept")
request.addValue("Bearer YOUR_API_KEY", forHTTPHeaderField: "Authorization")
let httpBody = "{
    \"id\": \"sora-2:task_01k6x15vhrff09dkkqjrzwhm60\",
    \"detail\": {
        \"id\": \"task_01k6x15vhrff09dkkqjrzwhm60\",
        \"input\": {
            \"size\": \"small\",
            \"model\": \"sy_ore\",
            \"images\": [
                \"https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png\",
                \"https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png\"
            ],
            \"prompt\": \"make animate\",
            \"orientation\": \"portrait\"
        },
        \"status\": \"pending\",
        \"pending_info\": {
            \"id\": \"task_01k6x15vhrff09dkkqjrzwhm60\",
            \"seed\": null,
            \"type\": \"video_gen\",
            \"user\": \"user-a1sGDUIOXV32hNITe59LEkHa\",
            \"model\": \"sy_8\",
            \"title\": \"New Video\",
            \"width\": 352,
            \"height\": 640,
            \"prompt\": \"make animate\",
            \"sdedit\": null,
            \"status\": \"processing\",
            \"actions\": null,
            \"guidance\": null,
            \"n_frames\": 450,
            \"priority\": 2,
            \"operation\": \"simple_compose\",
            \"preset_id\": null,
            \"created_at\": \"2025-10-06T15:10:26.875729Z\",
            \"n_variants\": 1,
            \"project_id\": null,
            \"request_id\": null,
            \"generations\": [],
            \"tracking_id\": null,
            \"progress_pct\": 0.9302178175176704,
            \"remix_config\": null,
            \"inpaint_items\": [
                {
                    \"type\": \"image\",
                    \"preset_id\": null,
                    \"crop_bounds\": null,
                    \"frame_index\": 0,
                    \"cameo_file_id\": null,
                    \"generation_id\": null,
                    \"upload_media_id\": \"media_01k6x15tnzezbst05sth2qgd8r\",
                    \"source_end_frame\": 0,
                    \"uploaded_file_id\": null,
                    \"source_start_frame\": 0
                },
                {
                    \"type\": \"image\",
                    \"preset_id\": null,
                    \"crop_bounds\": null,
                    \"frame_index\": 0,
                    \"cameo_file_id\": null,
                    \"generation_id\": null,
                    \"upload_media_id\": \"media_01k6x15tzafwztz74t018v3enw\",
                    \"source_end_frame\": 0,
                    \"uploaded_file_id\": null,
                    \"source_start_frame\": 0
                }
            ],
            \"interpolation\": null,
            \"is_storyboard\": null,
            \"failure_reason\": null,
            \"organization_id\": null,
            \"moderation_result\": {
                \"code\": null,
                \"type\": \"passed\",
                \"task_id\": \"task_01k6x15vhrff09dkkqjrzwhm60\",
                \"is_output_rejection\": false,
                \"results_by_frame_index\": {}
            },
            \"needs_user_review\": false,
            \"queue_status_message\": null,
            \"progress_pos_in_queue\": null,
            \"num_unsafe_generations\": 0,
            \"estimated_queue_wait_time\": null
        }
    },
    \"status\": \"pending\",
    \"status_update_time\": 1759763621142
}"
request.httpBody = httpBody.data(using: .utf8)

let task = URLSession.shared.dataTask(with: request) { data, response, error in
    if let data = data {
        print(String(data: data, encoding: .utf8)!)
    }
}
task.resume()
package main

import (
    "fmt"
    "io"
    "net/http"
)

func main() {
    body := strings.NewReader(`{
    "id": "sora-2:task_01k6x15vhrff09dkkqjrzwhm60",
    "detail": {
        "id": "task_01k6x15vhrff09dkkqjrzwhm60",
        "input": {
            "size": "small",
            "model": "sy_ore",
            "images": [
                "https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png",
                "https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png"
            ],
            "prompt": "make animate",
            "orientation": "portrait"
        },
        "status": "pending",
        "pending_info": {
            "id": "task_01k6x15vhrff09dkkqjrzwhm60",
            "seed": null,
            "type": "video_gen",
            "user": "user-a1sGDUIOXV32hNITe59LEkHa",
            "model": "sy_8",
            "title": "New Video",
            "width": 352,
            "height": 640,
            "prompt": "make animate",
            "sdedit": null,
            "status": "processing",
            "actions": null,
            "guidance": null,
            "n_frames": 450,
            "priority": 2,
            "operation": "simple_compose",
            "preset_id": null,
            "created_at": "2025-10-06T15:10:26.875729Z",
            "n_variants": 1,
            "project_id": null,
            "request_id": null,
            "generations": [],
            "tracking_id": null,
            "progress_pct": 0.9302178175176704,
            "remix_config": null,
            "inpaint_items": [
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tnzezbst05sth2qgd8r",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                },
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tzafwztz74t018v3enw",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                }
            ],
            "interpolation": null,
            "is_storyboard": null,
            "failure_reason": null,
            "organization_id": null,
            "moderation_result": {
                "code": null,
                "type": "passed",
                "task_id": "task_01k6x15vhrff09dkkqjrzwhm60",
                "is_output_rejection": false,
                "results_by_frame_index": {}
            },
            "needs_user_review": false,
            "queue_status_message": null,
            "progress_pos_in_queue": null,
            "num_unsafe_generations": 0,
            "estimated_queue_wait_time": null
        }
    },
    "status": "pending",
    "status_update_time": 1759763621142
}`)
    req, _ := http.NewRequest("GET", "https://api.quickrouter.ai/v1/video/query", body)
    req.Header.Set("Accept", "application/json")
    req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
    client := &http.Client{}
    resp, _ := client.Do(req)
    defer resp.Body.Close()
    bodyBytes, _ := io.ReadAll(resp.Body)
    fmt.Println(string(bodyBytes))
}
<?php

$curl = curl_init();
curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.quickrouter.ai/v1/video/query',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_POSTFIELDS => '{
    "id": "sora-2:task_01k6x15vhrff09dkkqjrzwhm60",
    "detail": {
        "id": "task_01k6x15vhrff09dkkqjrzwhm60",
        "input": {
            "size": "small",
            "model": "sy_ore",
            "images": [
                "https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png",
                "https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png"
            ],
            "prompt": "make animate",
            "orientation": "portrait"
        },
        "status": "pending",
        "pending_info": {
            "id": "task_01k6x15vhrff09dkkqjrzwhm60",
            "seed": null,
            "type": "video_gen",
            "user": "user-a1sGDUIOXV32hNITe59LEkHa",
            "model": "sy_8",
            "title": "New Video",
            "width": 352,
            "height": 640,
            "prompt": "make animate",
            "sdedit": null,
            "status": "processing",
            "actions": null,
            "guidance": null,
            "n_frames": 450,
            "priority": 2,
            "operation": "simple_compose",
            "preset_id": null,
            "created_at": "2025-10-06T15:10:26.875729Z",
            "n_variants": 1,
            "project_id": null,
            "request_id": null,
            "generations": [],
            "tracking_id": null,
            "progress_pct": 0.9302178175176704,
            "remix_config": null,
            "inpaint_items": [
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tnzezbst05sth2qgd8r",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                },
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tzafwztz74t018v3enw",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                }
            ],
            "interpolation": null,
            "is_storyboard": null,
            "failure_reason": null,
            "organization_id": null,
            "moderation_result": {
                "code": null,
                "type": "passed",
                "task_id": "task_01k6x15vhrff09dkkqjrzwhm60",
                "is_output_rejection": false,
                "results_by_frame_index": {}
            },
            "needs_user_review": false,
            "queue_status_message": null,
            "progress_pos_in_queue": null,
            "num_unsafe_generations": 0,
            "estimated_queue_wait_time": null
        }
    },
    "status": "pending",
    "status_update_time": 1759763621142
}',
  CURLOPT_HTTPHEADER => array(
    "Accept: application/json",
    "Authorization: Bearer YOUR_API_KEY",
  ),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json

conn = http.client.HTTPSConnection("api.quickrouter.ai")
payload = json.dumps({
    "id": "sora-2:task_01k6x15vhrff09dkkqjrzwhm60",
    "detail": {
        "id": "task_01k6x15vhrff09dkkqjrzwhm60",
        "input": {
            "size": "small",
            "model": "sy_ore",
            "images": [
                "https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png",
                "https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png"
            ],
            "prompt": "make animate",
            "orientation": "portrait"
        },
        "status": "pending",
        "pending_info": {
            "id": "task_01k6x15vhrff09dkkqjrzwhm60",
            "seed": null,
            "type": "video_gen",
            "user": "user-a1sGDUIOXV32hNITe59LEkHa",
            "model": "sy_8",
            "title": "New Video",
            "width": 352,
            "height": 640,
            "prompt": "make animate",
            "sdedit": null,
            "status": "processing",
            "actions": null,
            "guidance": null,
            "n_frames": 450,
            "priority": 2,
            "operation": "simple_compose",
            "preset_id": null,
            "created_at": "2025-10-06T15:10:26.875729Z",
            "n_variants": 1,
            "project_id": null,
            "request_id": null,
            "generations": [],
            "tracking_id": null,
            "progress_pct": 0.9302178175176704,
            "remix_config": null,
            "inpaint_items": [
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tnzezbst05sth2qgd8r",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                },
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tzafwztz74t018v3enw",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                }
            ],
            "interpolation": null,
            "is_storyboard": null,
            "failure_reason": null,
            "organization_id": null,
            "moderation_result": {
                "code": null,
                "type": "passed",
                "task_id": "task_01k6x15vhrff09dkkqjrzwhm60",
                "is_output_rejection": false,
                "results_by_frame_index": {}
            },
            "needs_user_review": false,
            "queue_status_message": null,
            "progress_pos_in_queue": null,
            "num_unsafe_generations": 0,
            "estimated_queue_wait_time": null
        }
    },
    "status": "pending",
    "status_update_time": 1759763621142
})
headers = {
   'Accept': 'application/json',
   'Authorization': 'Bearer YOUR_API_KEY',
}
conn.request("GET", "/v1/video/query", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
GET https://api.quickrouter.ai/v1/video/query HTTP/1.1
Accept: application/json
Authorization: Bearer YOUR_API_KEY

{
    "id": "sora-2:task_01k6x15vhrff09dkkqjrzwhm60",
    "detail": {
        "id": "task_01k6x15vhrff09dkkqjrzwhm60",
        "input": {
            "size": "small",
            "model": "sy_ore",
            "images": [
                "https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png",
                "https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png"
            ],
            "prompt": "make animate",
            "orientation": "portrait"
        },
        "status": "pending",
        "pending_info": {
            "id": "task_01k6x15vhrff09dkkqjrzwhm60",
            "seed": null,
            "type": "video_gen",
            "user": "user-a1sGDUIOXV32hNITe59LEkHa",
            "model": "sy_8",
            "title": "New Video",
            "width": 352,
            "height": 640,
            "prompt": "make animate",
            "sdedit": null,
            "status": "processing",
            "actions": null,
            "guidance": null,
            "n_frames": 450,
            "priority": 2,
            "operation": "simple_compose",
            "preset_id": null,
            "created_at": "2025-10-06T15:10:26.875729Z",
            "n_variants": 1,
            "project_id": null,
            "request_id": null,
            "generations": [],
            "tracking_id": null,
            "progress_pct": 0.9302178175176704,
            "remix_config": null,
            "inpaint_items": [
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tnzezbst05sth2qgd8r",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                },
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tzafwztz74t018v3enw",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                }
            ],
            "interpolation": null,
            "is_storyboard": null,
            "failure_reason": null,
            "organization_id": null,
            "moderation_result": {
                "code": null,
                "type": "passed",
                "task_id": "task_01k6x15vhrff09dkkqjrzwhm60",
                "is_output_rejection": false,
                "results_by_frame_index": {}
            },
            "needs_user_review": false,
            "queue_status_message": null,
            "progress_pos_in_queue": null,
            "num_unsafe_generations": 0,
            "estimated_queue_wait_time": null
        }
    },
    "status": "pending",
    "status_update_time": 1759763621142
}
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "https://api.quickrouter.ai/v1/video/query");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Accept: application/json");
headers = curl_slist_append(headers, "Authorization: Bearer YOUR_API_KEY");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);
curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{
    \"id\": \"sora-2:task_01k6x15vhrff09dkkqjrzwhm60\",
    \"detail\": {
        \"id\": \"task_01k6x15vhrff09dkkqjrzwhm60\",
        \"input\": {
            \"size\": \"small\",
            \"model\": \"sy_ore\",
            \"images\": [
                \"https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png\",
                \"https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png\"
            ],
            \"prompt\": \"make animate\",
            \"orientation\": \"portrait\"
        },
        \"status\": \"pending\",
        \"pending_info\": {
            \"id\": \"task_01k6x15vhrff09dkkqjrzwhm60\",
            \"seed\": null,
            \"type\": \"video_gen\",
            \"user\": \"user-a1sGDUIOXV32hNITe59LEkHa\",
            \"model\": \"sy_8\",
            \"title\": \"New Video\",
            \"width\": 352,
            \"height\": 640,
            \"prompt\": \"make animate\",
            \"sdedit\": null,
            \"status\": \"processing\",
            \"actions\": null,
            \"guidance\": null,
            \"n_frames\": 450,
            \"priority\": 2,
            \"operation\": \"simple_compose\",
            \"preset_id\": null,
            \"created_at\": \"2025-10-06T15:10:26.875729Z\",
            \"n_variants\": 1,
            \"project_id\": null,
            \"request_id\": null,
            \"generations\": [],
            \"tracking_id\": null,
            \"progress_pct\": 0.9302178175176704,
            \"remix_config\": null,
            \"inpaint_items\": [
                {
                    \"type\": \"image\",
                    \"preset_id\": null,
                    \"crop_bounds\": null,
                    \"frame_index\": 0,
                    \"cameo_file_id\": null,
                    \"generation_id\": null,
                    \"upload_media_id\": \"media_01k6x15tnzezbst05sth2qgd8r\",
                    \"source_end_frame\": 0,
                    \"uploaded_file_id\": null,
                    \"source_start_frame\": 0
                },
                {
                    \"type\": \"image\",
                    \"preset_id\": null,
                    \"crop_bounds\": null,
                    \"frame_index\": 0,
                    \"cameo_file_id\": null,
                    \"generation_id\": null,
                    \"upload_media_id\": \"media_01k6x15tzafwztz74t018v3enw\",
                    \"source_end_frame\": 0,
                    \"uploaded_file_id\": null,
                    \"source_start_frame\": 0
                }
            ],
            \"interpolation\": null,
            \"is_storyboard\": null,
            \"failure_reason\": null,
            \"organization_id\": null,
            \"moderation_result\": {
                \"code\": null,
                \"type\": \"passed\",
                \"task_id\": \"task_01k6x15vhrff09dkkqjrzwhm60\",
                \"is_output_rejection\": false,
                \"results_by_frame_index\": {}
            },
            \"needs_user_review\": false,
            \"queue_status_message\": null,
            \"progress_pos_in_queue\": null,
            \"num_unsafe_generations\": 0,
            \"estimated_queue_wait_time\": null
        }
    },
    \"status\": \"pending\",
    \"status_update_time\": 1759763621142
}");
CURLcode ret = curl_easy_perform(hnd);
var client = new RestClient("https://api.quickrouter.ai/v1/video/query");
var request = new RestRequest(Method.GET);
request.AddHeader("Accept", "application/json");
request.AddHeader("Authorization", "Bearer YOUR_API_KEY");
request.AddParameter("application/json", @"{
    "id": "sora-2:task_01k6x15vhrff09dkkqjrzwhm60",
    "detail": {
        "id": "task_01k6x15vhrff09dkkqjrzwhm60",
        "input": {
            "size": "small",
            "model": "sy_ore",
            "images": [
                "https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png",
                "https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png"
            ],
            "prompt": "make animate",
            "orientation": "portrait"
        },
        "status": "pending",
        "pending_info": {
            "id": "task_01k6x15vhrff09dkkqjrzwhm60",
            "seed": null,
            "type": "video_gen",
            "user": "user-a1sGDUIOXV32hNITe59LEkHa",
            "model": "sy_8",
            "title": "New Video",
            "width": 352,
            "height": 640,
            "prompt": "make animate",
            "sdedit": null,
            "status": "processing",
            "actions": null,
            "guidance": null,
            "n_frames": 450,
            "priority": 2,
            "operation": "simple_compose",
            "preset_id": null,
            "created_at": "2025-10-06T15:10:26.875729Z",
            "n_variants": 1,
            "project_id": null,
            "request_id": null,
            "generations": [],
            "tracking_id": null,
            "progress_pct": 0.9302178175176704,
            "remix_config": null,
            "inpaint_items": [
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tnzezbst05sth2qgd8r",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                },
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tzafwztz74t018v3enw",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                }
            ],
            "interpolation": null,
            "is_storyboard": null,
            "failure_reason": null,
            "organization_id": null,
            "moderation_result": {
                "code": null,
                "type": "passed",
                "task_id": "task_01k6x15vhrff09dkkqjrzwhm60",
                "is_output_rejection": false,
                "results_by_frame_index": {}
            },
            "needs_user_review": false,
            "queue_status_message": null,
            "progress_pos_in_queue": null,
            "num_unsafe_generations": 0,
            "estimated_queue_wait_time": null
        }
    },
    "status": "pending",
    "status_update_time": 1759763621142
}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
#import <Foundation/Foundation.h>

NSURL *url = [NSURL URLWithString:@"https://api.quickrouter.ai/v1/video/query"];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];
[request setHTTPMethod:@"GET"];
[request setValue:@"application/json" forHTTPHeaderField:@"Accept"];
[request setValue:@"Bearer YOUR_API_KEY" forHTTPHeaderField:@"Authorization"];
[request setHTTPBody:[@"{
    \"id\": \"sora-2:task_01k6x15vhrff09dkkqjrzwhm60\",
    \"detail\": {
        \"id\": \"task_01k6x15vhrff09dkkqjrzwhm60\",
        \"input\": {
            \"size\": \"small\",
            \"model\": \"sy_ore\",
            \"images\": [
                \"https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png\",
                \"https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png\"
            ],
            \"prompt\": \"make animate\",
            \"orientation\": \"portrait\"
        },
        \"status\": \"pending\",
        \"pending_info\": {
            \"id\": \"task_01k6x15vhrff09dkkqjrzwhm60\",
            \"seed\": null,
            \"type\": \"video_gen\",
            \"user\": \"user-a1sGDUIOXV32hNITe59LEkHa\",
            \"model\": \"sy_8\",
            \"title\": \"New Video\",
            \"width\": 352,
            \"height\": 640,
            \"prompt\": \"make animate\",
            \"sdedit\": null,
            \"status\": \"processing\",
            \"actions\": null,
            \"guidance\": null,
            \"n_frames\": 450,
            \"priority\": 2,
            \"operation\": \"simple_compose\",
            \"preset_id\": null,
            \"created_at\": \"2025-10-06T15:10:26.875729Z\",
            \"n_variants\": 1,
            \"project_id\": null,
            \"request_id\": null,
            \"generations\": [],
            \"tracking_id\": null,
            \"progress_pct\": 0.9302178175176704,
            \"remix_config\": null,
            \"inpaint_items\": [
                {
                    \"type\": \"image\",
                    \"preset_id\": null,
                    \"crop_bounds\": null,
                    \"frame_index\": 0,
                    \"cameo_file_id\": null,
                    \"generation_id\": null,
                    \"upload_media_id\": \"media_01k6x15tnzezbst05sth2qgd8r\",
                    \"source_end_frame\": 0,
                    \"uploaded_file_id\": null,
                    \"source_start_frame\": 0
                },
                {
                    \"type\": \"image\",
                    \"preset_id\": null,
                    \"crop_bounds\": null,
                    \"frame_index\": 0,
                    \"cameo_file_id\": null,
                    \"generation_id\": null,
                    \"upload_media_id\": \"media_01k6x15tzafwztz74t018v3enw\",
                    \"source_end_frame\": 0,
                    \"uploaded_file_id\": null,
                    \"source_start_frame\": 0
                }
            ],
            \"interpolation\": null,
            \"is_storyboard\": null,
            \"failure_reason\": null,
            \"organization_id\": null,
            \"moderation_result\": {
                \"code\": null,
                \"type\": \"passed\",
                \"task_id\": \"task_01k6x15vhrff09dkkqjrzwhm60\",
                \"is_output_rejection\": false,
                \"results_by_frame_index\": {}
            },
            \"needs_user_review\": false,
            \"queue_status_message\": null,
            \"progress_pos_in_queue\": null,
            \"num_unsafe_generations\": 0,
            \"estimated_queue_wait_time\": null
        }
    },
    \"status\": \"pending\",
    \"status_update_time\": 1759763621142
}" dataUsingEncoding:NSUTF8StringEncoding]];
NSURLSessionDataTask *task = [[NSURLSession sharedSession] dataTaskWithRequest:request completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
    NSLog(@"%@", [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]);
}];
[task resume];
require "uri"
require "net/http"
require "json"

url = URI("https://api.quickrouter.ai/v1/video/query")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Accept"] = "application/json"
request["Authorization"] = "Bearer YOUR_API_KEY"
request.body = '{
    "id": "sora-2:task_01k6x15vhrff09dkkqjrzwhm60",
    "detail": {
        "id": "task_01k6x15vhrff09dkkqjrzwhm60",
        "input": {
            "size": "small",
            "model": "sy_ore",
            "images": [
                "https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png",
                "https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png"
            ],
            "prompt": "make animate",
            "orientation": "portrait"
        },
        "status": "pending",
        "pending_info": {
            "id": "task_01k6x15vhrff09dkkqjrzwhm60",
            "seed": null,
            "type": "video_gen",
            "user": "user-a1sGDUIOXV32hNITe59LEkHa",
            "model": "sy_8",
            "title": "New Video",
            "width": 352,
            "height": 640,
            "prompt": "make animate",
            "sdedit": null,
            "status": "processing",
            "actions": null,
            "guidance": null,
            "n_frames": 450,
            "priority": 2,
            "operation": "simple_compose",
            "preset_id": null,
            "created_at": "2025-10-06T15:10:26.875729Z",
            "n_variants": 1,
            "project_id": null,
            "request_id": null,
            "generations": [],
            "tracking_id": null,
            "progress_pct": 0.9302178175176704,
            "remix_config": null,
            "inpaint_items": [
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tnzezbst05sth2qgd8r",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                },
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tzafwztz74t018v3enw",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                }
            ],
            "interpolation": null,
            "is_storyboard": null,
            "failure_reason": null,
            "organization_id": null,
            "moderation_result": {
                "code": null,
                "type": "passed",
                "task_id": "task_01k6x15vhrff09dkkqjrzwhm60",
                "is_output_rejection": false,
                "results_by_frame_index": {}
            },
            "needs_user_review": false,
            "queue_status_message": null,
            "progress_pos_in_queue": null,
            "num_unsafe_generations": 0,
            "estimated_queue_wait_time": null
        }
    },
    "status": "pending",
    "status_update_time": 1759763621142
}'
response = http.request(request)
puts response.read_body
(* Requires cohttp and lwt *)

let url = "https://api.quickrouter.ai/v1/video/query" in
let headers = Cohttp.Header.of_list [
  ("Accept", "application/json");
  ("Authorization", "Bearer YOUR_API_KEY");
] in
let body = Cohttp_lwt.Body.of_string '{
    "id": "sora-2:task_01k6x15vhrff09dkkqjrzwhm60",
    "detail": {
        "id": "task_01k6x15vhrff09dkkqjrzwhm60",
        "input": {
            "size": "small",
            "model": "sy_ore",
            "images": [
                "https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png",
                "https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png"
            ],
            "prompt": "make animate",
            "orientation": "portrait"
        },
        "status": "pending",
        "pending_info": {
            "id": "task_01k6x15vhrff09dkkqjrzwhm60",
            "seed": null,
            "type": "video_gen",
            "user": "user-a1sGDUIOXV32hNITe59LEkHa",
            "model": "sy_8",
            "title": "New Video",
            "width": 352,
            "height": 640,
            "prompt": "make animate",
            "sdedit": null,
            "status": "processing",
            "actions": null,
            "guidance": null,
            "n_frames": 450,
            "priority": 2,
            "operation": "simple_compose",
            "preset_id": null,
            "created_at": "2025-10-06T15:10:26.875729Z",
            "n_variants": 1,
            "project_id": null,
            "request_id": null,
            "generations": [],
            "tracking_id": null,
            "progress_pct": 0.9302178175176704,
            "remix_config": null,
            "inpaint_items": [
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tnzezbst05sth2qgd8r",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                },
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tzafwztz74t018v3enw",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                }
            ],
            "interpolation": null,
            "is_storyboard": null,
            "failure_reason": null,
            "organization_id": null,
            "moderation_result": {
                "code": null,
                "type": "passed",
                "task_id": "task_01k6x15vhrff09dkkqjrzwhm60",
                "is_output_rejection": false,
                "results_by_frame_index": {}
            },
            "needs_user_review": false,
            "queue_status_message": null,
            "progress_pos_in_queue": null,
            "num_unsafe_generations": 0,
            "estimated_queue_wait_time": null
        }
    },
    "status": "pending",
    "status_update_time": 1759763621142
}' in
Lwt_main.run (
  Cohttp_lwt_unix.Client.request ?body:(Some body) ~method_:`GET ~headers (Uri.of_string url)
  >>= fun (resp, body) ->
  Cohttp_lwt.Body.to_string body >|= fun s -> print_endline s
)
import 'package:http/http.dart' as http;
import 'dart:convert';

var headers = {
  "Accept": "application/json",
  "Authorization": "Bearer YOUR_API_KEY",
};
var body = json.encode({
    "id": "sora-2:task_01k6x15vhrff09dkkqjrzwhm60",
    "detail": {
        "id": "task_01k6x15vhrff09dkkqjrzwhm60",
        "input": {
            "size": "small",
            "model": "sy_ore",
            "images": [
                "https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png",
                "https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png"
            ],
            "prompt": "make animate",
            "orientation": "portrait"
        },
        "status": "pending",
        "pending_info": {
            "id": "task_01k6x15vhrff09dkkqjrzwhm60",
            "seed": null,
            "type": "video_gen",
            "user": "user-a1sGDUIOXV32hNITe59LEkHa",
            "model": "sy_8",
            "title": "New Video",
            "width": 352,
            "height": 640,
            "prompt": "make animate",
            "sdedit": null,
            "status": "processing",
            "actions": null,
            "guidance": null,
            "n_frames": 450,
            "priority": 2,
            "operation": "simple_compose",
            "preset_id": null,
            "created_at": "2025-10-06T15:10:26.875729Z",
            "n_variants": 1,
            "project_id": null,
            "request_id": null,
            "generations": [],
            "tracking_id": null,
            "progress_pct": 0.9302178175176704,
            "remix_config": null,
            "inpaint_items": [
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tnzezbst05sth2qgd8r",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                },
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tzafwztz74t018v3enw",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                }
            ],
            "interpolation": null,
            "is_storyboard": null,
            "failure_reason": null,
            "organization_id": null,
            "moderation_result": {
                "code": null,
                "type": "passed",
                "task_id": "task_01k6x15vhrff09dkkqjrzwhm60",
                "is_output_rejection": false,
                "results_by_frame_index": {}
            },
            "needs_user_review": false,
            "queue_status_message": null,
            "progress_pos_in_queue": null,
            "num_unsafe_generations": 0,
            "estimated_queue_wait_time": null
        }
    },
    "status": "pending",
    "status_update_time": 1759763621142
});
var response = await http.get(Uri.parse("https://api.quickrouter.ai/v1/video/query"), headers: headers, body: body);
print(response.body);
library(httr)

url <- "https://api.quickrouter.ai/v1/video/query"
body <- '{
    "id": "sora-2:task_01k6x15vhrff09dkkqjrzwhm60",
    "detail": {
        "id": "task_01k6x15vhrff09dkkqjrzwhm60",
        "input": {
            "size": "small",
            "model": "sy_ore",
            "images": [
                "https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png",
                "https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png"
            ],
            "prompt": "make animate",
            "orientation": "portrait"
        },
        "status": "pending",
        "pending_info": {
            "id": "task_01k6x15vhrff09dkkqjrzwhm60",
            "seed": null,
            "type": "video_gen",
            "user": "user-a1sGDUIOXV32hNITe59LEkHa",
            "model": "sy_8",
            "title": "New Video",
            "width": 352,
            "height": 640,
            "prompt": "make animate",
            "sdedit": null,
            "status": "processing",
            "actions": null,
            "guidance": null,
            "n_frames": 450,
            "priority": 2,
            "operation": "simple_compose",
            "preset_id": null,
            "created_at": "2025-10-06T15:10:26.875729Z",
            "n_variants": 1,
            "project_id": null,
            "request_id": null,
            "generations": [],
            "tracking_id": null,
            "progress_pct": 0.9302178175176704,
            "remix_config": null,
            "inpaint_items": [
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tnzezbst05sth2qgd8r",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                },
                {
                    "type": "image",
                    "preset_id": null,
                    "crop_bounds": null,
                    "frame_index": 0,
                    "cameo_file_id": null,
                    "generation_id": null,
                    "upload_media_id": "media_01k6x15tzafwztz74t018v3enw",
                    "source_end_frame": 0,
                    "uploaded_file_id": null,
                    "source_start_frame": 0
                }
            ],
            "interpolation": null,
            "is_storyboard": null,
            "failure_reason": null,
            "organization_id": null,
            "moderation_result": {
                "code": null,
                "type": "passed",
                "task_id": "task_01k6x15vhrff09dkkqjrzwhm60",
                "is_output_rejection": false,
                "results_by_frame_index": {}
            },
            "needs_user_review": false,
            "queue_status_message": null,
            "progress_pos_in_queue": null,
            "num_unsafe_generations": 0,
            "estimated_queue_wait_time": null
        }
    },
    "status": "pending",
    "status_update_time": 1759763621142
}'
response <- get(url, body = body, add_headers("Accept" = "application/json", "Authorization" = "Bearer YOUR_API_KEY"))
content(response, "text", encoding = "UTF-8")

返回响应

响应参数 🟢 200 OK · application/json
id string
必需
status string
必需
video_url null
必需
enhanced_prompt string
必需
status_update_time integer
必需
pending
可选
completed
可选
{ "id": "sora-2:task_01k6x15vhrff09dkkqjrzwhm60", "detail": { "id": "task_01k6x15vhrff09dkkqjrzwhm60", "input": { "size": "small", "model": "sy_ore", "images": [ "https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png", "https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png" ], "prompt": "make animate", "orientation": "portrait" }, "status": "pending", "pending_info": { "id": "task_01k6x15vhrff09dkkqjrzwhm60", "seed": null, "type": "video_gen", "user": "user-a1sGDUIOXV32hNITe59LEkHa", "model": "sy_8", "title": "New Video", "width": 352, "height": 640, "prompt": "make animate", "sdedit": null, "status": "processing", "actions": null, "guidance": null, "n_frames": 450, "priority": 2, "operation": "simple_compose", "preset_id": null, "created_at": "2025-10-06T15:10:26.875729Z", "n_variants": 1, "project_id": null, "request_id": null, "generations": [], "tracking_id": null, "progress_pct": 0.9302178175176704, "remix_config": null, "inpaint_items": [ { "type": "image", "preset_id": null, "crop_bounds": null, "frame_index": 0, "cameo_file_id": null, "generation_id": null, "upload_media_id": "media_01k6x15tnzezbst05sth2qgd8r", "source_end_frame": 0, "uploaded_file_id": null, "source_start_frame": 0 }, { "type": "image", "preset_id": null, "crop_bounds": null, "frame_index": 0, "cameo_file_id": null, "generation_id": null, "upload_media_id": "media_01k6x15tzafwztz74t018v3enw", "source_end_frame": 0, "uploaded_file_id": null, "source_start_frame": 0 } ], "interpolation": null, "is_storyboard": null, "failure_reason": null, "organization_id": null, "moderation_result": { "code": null, "type": "passed", "task_id": "task_01k6x15vhrff09dkkqjrzwhm60", "is_output_rejection": false, "results_by_frame_index": {} }, "needs_user_review": false, "queue_status_message": null, "progress_pos_in_queue": null, "num_unsafe_generations": 0, "estimated_queue_wait_time": null } }, "status": "pending", "status_update_time": 1759763621142 }

常见错误

  • 401 认证失败:检查 API Key 是否正确
  • 429 请求限流:降低调用频率或升级套餐
  • 500 服务器错误:稍后重试

注意事项

  • 请确保 API Key 有足够的余额
  • 请求频率受 API 限制,请参考价格页面