Step 1 - Create an API key
Open API keys from the sidebar, then click Create API key. This is the dashboard flow you use before calling any public/v1 route.
If you need the full dashboard flow, field-level details, or permission presets, use API keys overview and Create a key.
Step 2 - Verify the key
UseGET /v1/status to confirm your key works before you send generation traffic when your key includes the account:read scope.
Terminal
Generate Only or Monitor Only key, skip this step and move directly to a route that the preset allows. See Scopes for the exact endpoint mapping.
Step 3 - Send your first generation request
To start an image or video generation job, use:POST /v1/generate/image/{model_identifier}POST /v1/generate/video/{model_identifier}
- Image
- Video
Terminal
- Your app sends a signed request to the BabySea
/v1API. - BabySea authenticates the API key and checks the key scope for the route.
- BabySea accepts the generation request and returns a
generation_id. - BabySea continues processing the generation asynchronously.
Step 4 - Check the result
After you receive thegeneration_id, fetch the generation record with GET /v1/content/{generation_id}.
Terminal
- Poll
GET /v1/content/{generation_id}until the generation finishes. - Configure Webhook in your workspace and let BabySea notify your server.
Step 5 - Move from test to integration
For a local or server application, use the official SDK for installation and client setup.- Image
- Video
TypeScript