curl --request GET \
--url https://api.evolink.ai/v1/tasks/{task_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.evolink.ai/v1/tasks/{task_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.evolink.ai/v1/tasks/{task_id}', 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.evolink.ai/v1/tasks/{task_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.evolink.ai/v1/tasks/{task_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.evolink.ai/v1/tasks/{task_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.evolink.ai/v1/tasks/{task_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"created": 1788436500,
"duration": 30,
"id": "task-unified-1788436500-yscib7uw",
"model": "gemini-3-pro-image-preview",
"object": "image.generation.task",
"progress": 100,
"result_data": [
{
"url": "http://example.com/image.jpg"
}
],
"results": [
"http://example.com/image.jpg"
],
"status": "completed",
"task_info": {
"can_cancel": false
},
"type": "image",
"usage": {
"cost": {
"credits": 10,
"usd": 0.148,
"cny": 1
},
"credits_used": 10
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid API key (request id: 20260908103000123456789abcdef)",
"param": null,
"type": "authentication_error"
}
}{
"error": {
"code": "user_disabled",
"message": "Your account has been disabled (request id: 20260908103000123456789abcdef)",
"param": null,
"type": "invalid_request_error"
}
}{
"error": {
"message": "Task not found",
"type": "invalid_request_error",
"param": "",
"code": "task_not_found"
}
}{
"error": {
"code": "rate_limit_exceeded",
"message": "You have reached the request limit: max 60 requests per 1 minutes. Retry after 30 seconds. (request id: 20260908103000123456789abcdef)",
"param": null,
"retry_after": 30,
"retryable": true,
"type": "rate_limit_error"
}
}{
"error": {
"message": "Failed to get task status",
"type": "api_error",
"param": "",
"code": "internal_error"
}
}タスクステータスの照会
タスクIDによる非同期タスクのステータス、進捗、結果情報の照会
curl --request GET \
--url https://api.evolink.ai/v1/tasks/{task_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.evolink.ai/v1/tasks/{task_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.evolink.ai/v1/tasks/{task_id}', 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.evolink.ai/v1/tasks/{task_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.evolink.ai/v1/tasks/{task_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.evolink.ai/v1/tasks/{task_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.evolink.ai/v1/tasks/{task_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"created": 1788436500,
"duration": 30,
"id": "task-unified-1788436500-yscib7uw",
"model": "gemini-3-pro-image-preview",
"object": "image.generation.task",
"progress": 100,
"result_data": [
{
"url": "http://example.com/image.jpg"
}
],
"results": [
"http://example.com/image.jpg"
],
"status": "completed",
"task_info": {
"can_cancel": false
},
"type": "image",
"usage": {
"cost": {
"credits": 10,
"usd": 0.148,
"cny": 1
},
"credits_used": 10
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid API key (request id: 20260908103000123456789abcdef)",
"param": null,
"type": "authentication_error"
}
}{
"error": {
"code": "user_disabled",
"message": "Your account has been disabled (request id: 20260908103000123456789abcdef)",
"param": null,
"type": "invalid_request_error"
}
}{
"error": {
"message": "Task not found",
"type": "invalid_request_error",
"param": "",
"code": "task_not_found"
}
}{
"error": {
"code": "rate_limit_exceeded",
"message": "You have reached the request limit: max 60 requests per 1 minutes. Retry after 30 seconds. (request id: 20260908103000123456789abcdef)",
"param": null,
"retry_after": 30,
"retryable": true,
"type": "rate_limit_error"
}
}{
"error": {
"message": "Failed to get task status",
"type": "api_error",
"param": "",
"code": "internal_error"
}
}承認
##すべてのAPIにBearer Token認証が必要です##
APIキーの取得:
APIキー管理ページにアクセスしてAPIキーを取得してください
リクエストヘッダーに追加:
Authorization: Bearer YOUR_API_KEY
パスパラメータ
タスクID、照会時は{}を無視し、非同期タスクレスポンスボディのidをパスの末尾に追加してください
レスポンス
タスクステータスの詳細
タスク作成タイムスタンプ
1756817821
タスク ID
"task-unified-1756817821-4x3rx6ny"
使用されたモデル
"gemini-3-pro-image-preview"
タスクタイプ
image.generation.task, video.generation.task, audio.generation.task "image.generation.task"
タスク進捗率
0 <= x <= 100100
タスクステータス。注意:上流でまだ待機中でも、照会 API は "processing" を返すため、クライアントは通常 processing / completed / failed のみを目にします。
pending, processing, completed, failed "completed"
タスクタイプ
image, video, audio, text "image"
タスクの所要時間(秒)。status が "completed" または "failed" のときのみ返されます。
30
実際に生成された動画の長さ(秒)。一部の動画モデル(例:Kling)の終了状態でのみ返されます。
5
正式動画に変換できる期限(UTC、RFC 3339)。作成時に draft: true を指定した Seedance 2.5 プレビュー動画が completed になった場合にのみ返されます。この時刻を過ぎると Seedance 2.5 Draft-to-Video で変換できなくなります
"2026-09-23T17:19:36Z"
この正式動画の変換元となったプレビュー動画のタスク ID。Seedance 2.5 Draft-to-Video タスクでのみ返されます
"task-unified-1774857405-abc123"
結果 URL のリスト。status が "completed" でモデルが URL 結果を生成する場合のみ返され、それ以外ではフィールド自体が存在しません。
["http://example.com/image.jpg"]
モデル固有の完全な結果オブジェクト。画像モデルでは [{"url": ...}] のようなオブジェクト配列(results と同じ URL)。一部のモデルはより詳細なオブジェクトを返します(例:Suno は楽曲オブジェクト)。構造化結果のないモデルでは返されません。
[{ "url": "http://example.com/image.jpg" }]
使用量と課金情報。status が "completed" のときのみ返されます。credits_used と cost は常に含まれ、トークン系フィールドはトークン課金モデル(例:gpt-image-2)でのみ返されます。一部のモデルではモデル固有の課金フィールドが追加されます。
Show child attributes
Show child attributes
タスク失敗時のエラー情報(status が failed の場合のみ)。注意:ここでの error.code は文字列型のビジネスエラーコードで、HTTP ステータスコードとは異なります。完全なリストはエラーコードリファレンスを参照してください。
Show child attributes
Show child attributes
タスクの詳細情報
Show child attributes
Show child attributes
Midjourney V7 variation / pan / outpaint: prompt は任意です。省略、空文字、空白のみ、または制御対象の速度・バージョン指定を除去すると空になる場合は、speed=turbo でも Fast で実行し Fast 料金を適用します。有効な本文がある場合、速度の省略または fast は Fast、turbo は Turbo で実行し Fast の2倍の料金です。Playground は Fast のみです。ソースは現在のユーザーが所有する完了済みタスクが必要です。prompt なしでは画像生成、および対応する variation・pan・outpaint の結果を使用できます。 Historical tasks retain their recorded execution speed and billing.
draft, fast, turbo