Skip to content
Blog Developers

Image API: a quick start for developers

September 17, 2026 · 5 min read

Create a key, send one request and save the image — in JavaScript, Python or cURL.

Start with the subject

Say exactly what should be in the picture before you describe the mood. "A ceramic coffee mug on a wooden table" beats "something cozy" every time.

Add light and lens

Words like golden hour, soft studio light or shot on a 35mm lens change the whole feel of an image. Pick one style preset and let it handle the rest.

Iterate quickly

Generate four versions, keep the best one and use Use prompt to try small changes. Upscale only the final image to save credits.

Keep reading