Check available and price_cents before requesting generation. If no model is available, you can still list the catalog and use the SDK examples in read-only mode.
curl --fail-with-body https://api.beato.app/v1/models
Create an API key
Sign in to the developer console. Once account access is enabled, create a key and set BEATO_API_KEY in your server environment. Keep the key private. Check your balance before sending a paid request.
Create and poll a job
curl --fail-with-body https://api.beato.app/v1/jobs \
-H "Authorization: Bearer $BEATO_API_KEY" \
-H "Idempotency-Key: $BEATO_IDEMPOTENCY_KEY" \
-H 'Content-Type: application/json' \
-d '{"model":"nano-banana","prompt":"A watercolor of a rainy street"}'
Set BEATO_IDEMPOTENCY_KEY to a unique value for this operation and persist it. After 202 Accepted, set JOB_ID to the returned id and poll at 5–10 second intervals.
curl --fail-with-body "https://api.beato.app/v1/jobs/$JOB_ID" \
-H "Authorization: Bearer $BEATO_API_KEY"
Download results[].url once the job succeeds. See job lifecycle for expiration and retry behavior.