Tools
API tool
API request builder
Send X-API-Key. Missing or invalid keys return HTTP 401 with an error field; handler business errors usually return HTTP 200 and a nonzero code.
Your key is used for this page’s requests only and is not saved.
Advanced parameters / JSON
Run these examples on your server. Set KUSART_API_KEY, replace asset URLs and verify styles before running. Python / JavaScript create once and poll the same task.
curl -X POST "https://api.kusa.pics/api/go/b2b/tasks/create" \
-H "Content-Type: application/json" \
-H "X-API-Key: $KUSART_API_KEY" \
-d '{
"task_type": "IMAGE_TO_IMAGE_UPSCALE",
"params": {
"image_url": "https://cdn.kusa.pics/generated/gb9g1YvV8ac41vwLQg91XTygdQh2/original/2026/10/24/e1cb910c-b5f0-484a-8eec-b8ec7e190f8b.png",
"scale_factor": 2,
"watermark": false
}
}'Sending a create request uses credits from this key’s account. Listing styles and querying a task do not create another generation.
No request sent yet. Your API response will appear here.