Playground
Write a prompt, see the image.Then copy the same request into your app.
Your API keys
Create a key, then use it in your app or try it below.Each image uses 1 credit.Images are never saved.
Result
Waiting for a promptYour image shows up here.Download it when you like it.
It stays in this tab until you leave or clear it.
The same request, in code
Updates as you change the form.
Terminal
curl https://magnt.app/api/v1/images/generations \
-H "Authorization: Bearer $MAGNT_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary @request.json \
--output image.webprequest.json
{
"model": "magnt-image-1",
"prompt": "A ceramic vase in warm afternoon light",
"aspect_ratio": "1:1",
"resolution": "1K",
"response_format": "image"
}