Downloading Result Files
Generated files are returned as direct, downloadable URLs — no separate URL-exchange endpoint is needed.
Overview
When a generation task reaches state: "success", its resultUrls array contains the URLs of all generated files (images, videos, audio). Fetch them with any HTTP client.
Where result URLs come from
GET
GET https://97ai.97claude.com/api/generate/{taskId}JSON
{
"taskId": "task_12345678",
"state": "success",
"resultUrls": ["https://example.com/generated.jpg"],
"creditsConsumed": 5,
"balance": 1950
}Downloading
cURL
curl -o output.jpg "https://example.com/generated.jpg"URLs are plain HTTPS and work in browsers, curl, or any SDK. No Authorization header is required to fetch the file itself.
Retention
Media files are retained for 14 days
After the retention window files are permanently deleted. Download and store important results on your own storage in time.