Get $1 free credits and try all models with one API
cURL
curl --request POST \ --url https://api.us.babysea.ai/v1/image-generation/{generation_id}/cancel \ --header 'Authorization: Bearer <token>'
{ "status": "success", "request_id": "<string>", "message": "<string>", "timestamp": "2023-11-07T05:31:56Z", "data": { "generation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "generation_status": "canceled", "provider_cancel_sent": true, "credits_refunded": true } }
BabySea API key - prefix bye_ followed by a random string
Generation UUID
Generation canceled successfully
Response envelope
Always success
success
Unique request identifier (UUID v4)
Success message
Response timestamp (ISO 8601)
Show child attributes
Was this page helpful?