gpt-image-1-mini, works the same way as GPT-Image-1. To try it, replace the model name in the examples below.
Model parameters
- Model IDs:
gpt-image-1/gpt-image-1-mini - Pricing: Check the Model Hub for current prices.
- Endpoint:
https://geekai.co/api/v1/images/generations - Parameters: See the Image API reference.
- Authentication: Get an API key.
The following common Image API parameters are not supported:
negative_promptseedstrengthaspect_ratiostyle_preset
size:
1024x10241024x15361536x1024
Pricing
GPT-Image-1 prices vary by size and quality:
For GPT-Image-1,
quality defaults to medium and size defaults to 1024x1024.
When using a GeekAI discounted proxy channel, multiply the listed price by the channel’s discount factor. For example, the default high-availability channel has a factor of 0.5. An image with size set to 1024x1024 and quality set to medium costs 0.315 x 0.5 = 0.158 CNY. At the same size but with quality set to high, it costs 1.26 x 0.5 = 0.63 CNY. Apply the same calculation to other settings.
GPT-Image-1 mini pricing:
GPT-Image-1 mini has the same defaults as GPT-Image-1:
quality defaults to medium and size to 1024x1024. Calculate proxy channel prices the same way: multiply the listed price by the applicable discount factor.
Text-to-image generation
Generate an image from a text description:Image-to-image generation
Single image Edit an existing image using a text instruction to generate a new image:Asynchronous tasks
For time-consuming, high-quality image requests, use GeekAI’s asynchronous task mode. Theasync parameter in the Image API controls asynchronous generation. It defaults to false: the request waits for the image and returns it. Set it to true to generate asynchronously. The endpoint returns a task ID you can use to poll for status.