Get $1 free credits and try all models with one API
cURL
curl --request GET \ --url https://api.us.babysea.ai/v1/estimate/{model_identifier} \ --header 'Authorization: Bearer <token>'
{ "status": "success", "request_id": "<string>", "message": "<string>", "timestamp": "2023-11-07T05:31:56Z", "data": { "model_identifier": "<string>", "assets_count": 123, "cost_per_generation": 123, "cost_total_consumed": 123, "credit_balance": 123, "credit_balance_can_afford": true, "credit_balance_max_affordable": 123 } }
BabySea API key - prefix bye_ followed by a random string
Model identifier
Number of outputs to estimate cost for (defaults to 1)
x >= 1
Cost estimate data retrieved successfully
Response envelope
Always success
success
Unique request identifier (UUID v4)
Success message
Response timestamp (ISO 8601)
Show child attributes
Was this page helpful?