List Tasks
curl --request GET \
--url https://api.modelhunter.ai/api/v1/tasks \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.modelhunter.ai/api/v1/tasks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.modelhunter.ai/api/v1/tasks', 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.modelhunter.ai/api/v1/tasks",
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.modelhunter.ai/api/v1/tasks"
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.modelhunter.ai/api/v1/tasks")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.modelhunter.ai/api/v1/tasks")
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{
"success": true,
"data": [
{
"id": "task_abc123",
"type": "video",
"status": "succeeded",
"provider": "vidu",
"model": "viduq3-turbo",
"progress": 100,
"cost": 0.32,
"created_at": "2026-01-15T10:00:00Z",
"started_at": "2026-01-15T10:00:02Z",
"completed_at": "2026-01-15T10:00:32Z",
"metadata": { "project": "demo" }
},
{
"id": "task_def456",
"type": "image",
"status": "failed",
"provider": "seedream",
"model": "seedream-5-0-lite",
"progress": 0,
"error": {
"code": "PROVIDER_ERROR",
"message": "Content policy violation"
},
"created_at": "2026-01-15T09:50:00Z",
"started_at": "2026-01-15T09:50:01Z",
"completed_at": "2026-01-15T09:50:08Z"
}
],
"pagination": {
"cursor": "2026-01-15T09:50:00Z",
"hasMore": true,
"total": 42
}
}
Tasks
List Tasks
List all generation tasks with filtering and cursor-based pagination.
GET
/
api
/
v1
/
tasks
List Tasks
curl --request GET \
--url https://api.modelhunter.ai/api/v1/tasks \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.modelhunter.ai/api/v1/tasks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.modelhunter.ai/api/v1/tasks', 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.modelhunter.ai/api/v1/tasks",
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.modelhunter.ai/api/v1/tasks"
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.modelhunter.ai/api/v1/tasks")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.modelhunter.ai/api/v1/tasks")
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{
"success": true,
"data": [
{
"id": "task_abc123",
"type": "video",
"status": "succeeded",
"provider": "vidu",
"model": "viduq3-turbo",
"progress": 100,
"cost": 0.32,
"created_at": "2026-01-15T10:00:00Z",
"started_at": "2026-01-15T10:00:02Z",
"completed_at": "2026-01-15T10:00:32Z",
"metadata": { "project": "demo" }
},
{
"id": "task_def456",
"type": "image",
"status": "failed",
"provider": "seedream",
"model": "seedream-5-0-lite",
"progress": 0,
"error": {
"code": "PROVIDER_ERROR",
"message": "Content policy violation"
},
"created_at": "2026-01-15T09:50:00Z",
"started_at": "2026-01-15T09:50:01Z",
"completed_at": "2026-01-15T09:50:08Z"
}
],
"pagination": {
"cursor": "2026-01-15T09:50:00Z",
"hasMore": true,
"total": 42
}
}
Query Parameters
string
Filter by task status. One of:
pending, queued, running, succeeded, failed, cancelled, expired.string
Filter by provider. Options:
vidu, kling, seedream, seedance, gemini, wan.string
Filter by model ID (e.g.,
viduq3-turbo, kling-v3).string
Filter tasks created after this date (ISO 8601 format).
string
Filter tasks created before this date (ISO 8601 format).
string
Search by task ID prefix.
number
default:20
Items per page. Range: 1–100.
string
Cursor for pagination. Pass the
cursor value from a previous response to get the next page.{
"success": true,
"data": [
{
"id": "task_abc123",
"type": "video",
"status": "succeeded",
"provider": "vidu",
"model": "viduq3-turbo",
"progress": 100,
"cost": 0.32,
"created_at": "2026-01-15T10:00:00Z",
"started_at": "2026-01-15T10:00:02Z",
"completed_at": "2026-01-15T10:00:32Z",
"metadata": { "project": "demo" }
},
{
"id": "task_def456",
"type": "image",
"status": "failed",
"provider": "seedream",
"model": "seedream-5-0-lite",
"progress": 0,
"error": {
"code": "PROVIDER_ERROR",
"message": "Content policy violation"
},
"created_at": "2026-01-15T09:50:00Z",
"started_at": "2026-01-15T09:50:01Z",
"completed_at": "2026-01-15T09:50:08Z"
}
],
"pagination": {
"cursor": "2026-01-15T09:50:00Z",
"hasMore": true,
"total": 42
}
}
⌘I