Get $1 free credits and try all models with one API
cURL
curl --request GET \ --url https://api.us.babysea.ai/v1/library/models \ --header 'Authorization: Bearer <token>'
{ "status": "success", "request_id": "<string>", "message": "<string>", "timestamp": "2023-11-07T05:31:56Z", "data": { "models_total": 123, "models": [ { "model_type": "image", "model_identifier": "<string>", "model_pricing": 123, "model_supported_provider": [ "<string>" ], "schema": { "generation_prompt": true, "generation_ratio": [ "<string>" ], "generation_output_format": [ "<string>" ], "generation_output_number": 123, "generation_input_file": true }, "specific_schema": [ "<string>" ] } ] } }
BabySea API key - prefix bye_ followed by a random string
Model 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?