Before you start
- Create your account at https://us.babysea.ai/auth/sign-up.
- Sign in at https://us.babysea.ai/auth/sign-in.
- Open your dashboard at https://us.babysea.ai/home.
Step 1 - Open your workspace
From https://us.babysea.ai/home, open the account you want to use. What you see:- The workspace home page.
- The left navigation with API keys and the rest of the account tools.
- The Playground link, which opens a separate page where you can test models in the browser before integrating.
Step 2 - 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.
Step 3 - Verify the key
UseGET /v1/status to confirm your key works before you send generation traffic.
Terminal
Step 4 - Send your first generation request
UsePOST /v1/generate/image/{model_identifier} to start an image generation job.
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 5 - 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 6 - Move from test to integration
For a local or server application, use the official SDK:TypeScript