From sign-up to a finished image in about a minute.
One account, one key and one endpoint cover image generation, video generation and image tagging. Here is the whole path, start to finish.
- Step 1
Step 1
Create an account
Sign up with Google or an email address. Free starter credits land on your balance immediately — no card, no queue, no sales call.
- Step 2
Step 2
Get an API key
Create a key from your dashboard. Keys begin with gai_live_ and are shown once, so store them in your server environment. Revoke and roll them whenever you like.
headerAuthorization: Bearer gai_live_xxxxxxxx - Step 3
Step 3
Make one request
Every kind of job — image, video or tagging — is created at the same endpoint. Pick a model slug, send a prompt or an image, and add wait: true if you would rather block than poll.
requestcurl https://generativeaiapi.com/api/public/v1/generations \ -H "Authorization: Bearer gai_live_..." \ -H "Content-Type: application/json" \ -d '{ "model": "studio-image", "prompt": "an orbital greenhouse at golden hour", "wait": true }' - Step 4
Step 4
Collect the result
You get back signed output URLs valid for seven days, plus the exact credits the job used. If a job fails, the credits go straight back to your balance.
response{ "id": "0f1b8b2e-...", "status": "succeeded", "credits": 4, "outputs": ["https://.../0.png"], "completed_at": "2026-09-09T05:19:31.000Z" }
How credits work
One balance covers every model. A credit is worth a cent, and each model publishes its price up front, so you always know the cost of a run before you press go.
2 credits
A Flash image — the fastest way to iterate on an idea.
Charged at start
Credits leave your balance when the job starts and are refunded in full if it fails.
No model upcharge
Every plan can call every model. You pay the credit price, nothing more.
Studios, in the browser
Best for exploring. Pick a model, fill in its options, and watch jobs run with full history. Nothing to install, and it uses the same credits as the API.
Open the image studioAPI, in production
Best for shipping. One REST endpoint, predictable JSON, signed output URLs and clear error codes you can retry against.
See the referenceCommon questions
Try it with free credits
Create an account and generate your first image before you spend anything.
Get started free