Image generation API on FastMetal: same key, same balance
FastMetal now serves image generation models. They use the same API key and the same prepaid balance as the text models, so one account covers both.
What is new
The model catalog now includes image models. At launch they included ByteDance Seedream 4.5 (bytedance-seedream-4.5) and Z-Image Turbo (z-image-turbo), and both are still served. More image models have joined since, and the model catalog has the current list.
Calling the API
The endpoint follows the OpenAI Images API, and your existing key works as is:
curl https://api.fastmetal.ai/v1/images/generations \
-H "Authorization: Bearer $FASTMETAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "z-image-turbo",
"prompt": "A lighthouse on a rocky coast at dusk, woodblock print style"
}'
The image comes back as base64 in data[0].b64_json. The image generation tutorial shows how to decode it to a file, and which request fields each model honors.
Billing
Images are billed per image and deducted from your prepaid balance, the same as text usage. You cannot be charged more than the balance you put in. The per-image rate for each model is on the pricing page and on the model's own page.
Since launch
In the browser, images are now made in Studio, which keeps your results in your own library. Coding agents can also make images through the generate_image tool of the MCP server.