Anyone who wants images, video or music created automatically runs into the same problem: every model sits behind its own door. Google wants a Cloud project with a credit card attached, OpenAI its own account, Suno and Midjourney yet another, and before you have generated a single image you have four invoices and four keys.
kie.ai solves this by sitting in between. It acts as a go-between: you create one account, add credit, and with one key you talk to Veo, Nano Banana, Seedream, Flux, Suno, ElevenLabs, Midjourney and the regular text models from Claude, GPT and Gemini. All calls look the same; only the model name and the input fields differ per model.
Why we use it. In an automation you do not want to be tied to one supplier. If a better or cheaper video model comes out next month, you change one line at kie.ai, the model name, and the rest of your automation stays as it is. That is the real advantage; that it is also cheaper than going direct is a bonus.
What you can do with it
The offering changes constantly, so this is a snapshot (August 2026). The current list is at kie.ai/market.
| Type | Models included, among others | What we use it for |
|---|---|---|
| Image | Nano Banana (Google), Seedream, Flux, GPT Image, Ideogram, Imagen | Placing product photos on a background, ad variants, lifestyle images for a new SKU |
| Video | Veo, Kling, Seedance, Grok Imagine | Short product videos for social, from one photo and one line of text |
| Music and voice | Suno, ElevenLabs | Voice-over for a video, background music without licensing hassle |
| Text | Claude, GPT, Gemini, Grok | Rarely. For this we prefer to go straight to the supplier; see the pitfalls below |
The practical use it usually comes down to for our clients: one new item in your range automatically produces five ad images, a short video and a voice-over, without anyone setting foot in a photo studio.
1 Create an account
kie.ai
- Go to kie.ai and click Sign in or Get started at the top right.
- You can sign up with your Google account or with an email address and password. Use the business address your company runs on, not your personal one: the invoices arrive there and the key is tied to this account.
- Confirm your email address via the email you receive.
That is all. You do not need to provide company details, a Chamber of Commerce number or a credit card to get started. You only pay once you top up your balance.
Turn on two-factor authentication straight away if the account belongs to your company. This account will soon hold a key that spends money. Anyone who gets in can use up your entire balance.
2 Try a model in the playground
kie.ai/market
Do this before you build anything. Every model has a Playground: a screen where you simply call the model by hand, without a single line of code.
- Go to kie.ai/market and find the model you want, for example an image model.
- Open it and click Playground or Try it.
- Enter your prompt, set the aspect ratio and let it run.
New accounts get a small amount of free credit, enough for a few tries. You learn two things here that you will need later: what a call to this model costs (the number of credits is shown) and which input fields the model accepts. Those field names reappear exactly as they are in your API call.
If the model does not deliver what you want, stop here and try another. That is exactly why this step comes before building.
3 Top up your balance
kie.ai/pricing
kie.ai works with a prepaid wallet, not a subscription. You buy credits and every call deducts some. There is no monthly fee that keeps running if you do nothing for a month.
| How it works | What that means |
|---|---|
| Credits do not expire | You can safely top up a small amount to test; it stays there |
| Failed calls cost nothing | If a generation fails, nothing is deducted. You pay for results |
| The price is per model | An image costs a fraction of a video. Check what one call costs before you put anything in a loop |
| Cheaper than going direct | Usually tens of percent below the official price. Exactly how much varies by model and by month |
Top up small while you are building. The calculation people forget: an automation that makes ten images per new product will, across a hundred products, cost a hundred times those ten. Work out once the cost of your most expensive call multiplied by the number of times it runs per month, and load that amount. No more.
4 Create your API key
kie.ai/api-key
The key is the password your automation uses to spend credit on your behalf. Creating it takes one button:
- Go to kie.ai/api-key, or click API Key in the dashboard menu.
- Click Create API Key and give it a name that will be useful later: not
test, but for exampleproductbeeld-automation. - Copy the key immediately and store it somewhere safe. It starts with a fixed prefix and is a long string of characters.
This same screen has two settings you should configure straight away for a production automation:
- IP whitelist. Enter the IP address of the server your automation runs on. The key then will not work from any other address, even if it leaks. This is the cheapest security there is, and hardly anyone turns it on.
- Separate keys per use. One key per automation or per client. If something goes wrong somewhere, you revoke that one without the rest falling over.
Never put the key in anything a visitor can open. Not in your website's JavaScript, not in an app, not in a public repository. Anything that runs in the browser can be read. The key belongs on your server, in an environment variable, and your website talks to your server, not directly to kie.ai. A leaked key isn't "a security risk", it's someone using up your credit.
5 Your first call
api.kie.ai
All models in the Market work through the same two steps: you create a task and get a taskId back, and then you fetch the result. That's deliberate: generating a video takes longer than a connection stays open.
Creating the task, a POST to https://api.kie.ai/api/v1/jobs/createTask:
curl -X POST https://api.kie.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer JOUW_API_SLEUTEL" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana",
"input": {
"prompt": "Een witte sneaker op een betonnen ondergrond, zacht ochtendlicht",
"aspect_ratio": "1:1"
}
}'
Two headers are always the same: Authorization: Bearer with your key, and Content-Type: application/json. What goes in input differs per model; those are exactly the fields you saw in the playground in step 2.
You don't get an image back, but a taskId. That only means the task has been accepted.
Fetching the result, a GET to /api/v1/jobs/recordInfo with that id:
curl "https://api.kie.ai/api/v1/jobs/recordInfo?taskId=JOUW_TASK_ID" \
-H "Authorization: Bearer JOUW_API_SLEUTEL"
The response contains a status. As long as it is waiting, queuing or generating, it's still running; with success the link to the result is included, and with fail it says why.
Better than asking repeatedly: let it call you back. Put a callBackUrl pointing to an address on your own server in the create request, and you'll be notified there as soon as it's done, without polling every few seconds:
{
"model": "nano-banana",
"callBackUrl": "https://jouwdomein.nl/webhooks/kie",
"input": { "prompt": "..." }
}
Download the result straight away. The files don't stay there forever; count on a week or two. An automation that only stores the link will have a list of dead links a month from now. Fetch the file and put it in your own storage, in the same step.
The pitfalls
| What you run into | What is going on | What you do |
|---|---|---|
| 401 or "unauthorized" | The key is wrong, or you're calling from an IP that isn't on the whitelist | Check that Bearer comes before it, with a space. If a whitelist is enabled, check your server's IP |
| Your calls are rejected when it's busy | There's a rate limit on new tasks, in the order of twenty per ten seconds | Add a pause between your calls instead of a loop that sends everything at once |
| The same model uses different field names than at the provider itself | kie.ai translates to its own model names and input fields | Check the playground and the model page once for each model, and copy those fields. Copying code from another model goes wrong |
| The price has changed | Rates move with what the providers themselves charge | Check the costs before putting anything in a loop, and keep an eye on your usage via the logs in the dashboard |
| Your credit runs out mid-run | Prepaid means: gone is gone, and then your automation stops | Set a minimum threshold in your own monitoring, or top up with a margin. There's no automatic direct debit to catch you |
| There's nobody on the phone | Support runs via email and their own channels; there's no supplier SLA | Fine for images and video in an automation. Don't rely on it for a process that grinds to a halt if it is down for a day |
When this is not the right choice
For images, video and music, this is in our view the fastest route from idea to working automation, and the most flexible: switching models takes one line.
For text models we usually go directly to Anthropic, OpenAI or Google. That's often at the core of a process: quotes, customer replies, analyses. There you want the supplier terms, the availability guarantees and the error messages from the source itself. An intermediary is then one more place where things can break.
And for anything that touches personal or customer data, the same applies as with any intermediary: first check what needs to be in your data processing agreement and where the data passes through, before sending anything sensitive through it. For a product photo on a concrete background, that doesn't matter.
- What is kie.ai? · prices next to those of Google and OpenAI, and when it pays off
- What is an API? · explained with examples from your own webshop
- Exact Online integration: how the API works



