Creators
Generate and edit images with the same API key
Image models and chat models draw on the same balance. You can call them through the API now. Once Image Studio launches, you can generate images right in the browser.
Image Studio
An image interface that needs no code. It uses your CodaAPI API key directly, and costs come out of the same balance.
Generate and edit
Generate images from text, or upload a reference image to edit.
Aspect ratio and resolution
Common aspect ratios, and three resolutions: 1K, 2K and 4K.
Prompt assistant
A chat model expands your idea into a more detailed prompt.
Batch generation
Submit several prompts at once and they are generated in a queue.
Cost estimate
See roughly what a run will cost before you generate.
Local gallery
History and your images are stored locally in your browser.
Available now: the image API
Image models can already be called through the API. Here is an example.
curl https://codaapi.com/v1/images/generations \ -H "Authorization: Bearer $CODAAPI_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "gpt-image-1.5", "prompt": "A corgi running down a street after the rain, cinematic", "size": "1024x1024" }'import osfrom openai import OpenAI client = OpenAI( base_url="https://codaapi.com/v1", api_key=os.environ["CODAAPI_KEY"],)image = client.images.generate( model="gpt-image-1.5", prompt="A corgi running down a street after the rain, cinematic", size="1024x1024",) https://codaapi.com/v1 Try one image with the API first
Sign up, create a key, and put your address and key into the example.