promptstringobrigatório
The text prompt to generate an image from.
Padrão: "Generate an image of gray tabby cat hugging an otter with an orange scarf"
openai/gpt-image-2.6-flareGPT Image 2.6 Flare is optimized for fast, high-quality image generation, with improved layout quality for posters, product imagery, and other professional visuals.
Testar o modelo
Selecione um exemplo para carregar as entradas e o resultado no playground.
{
"aspect_ratio": "16:9",
"prompt": "Create a photorealistic candid photograph of an elderly sailor standing on a small fishing boat.\nHe has weathered skin with visible wrinkles, pores, and sun texture, and a few faded traditional sailor tattoos on his arms.\nHe is calmly adjusting a net while his dog sits nearby on the deck. Shot like a 35mm film photograph, medium close-up at eye level, using a 50mm lens.\nSoft coastal daylight, shallow depth of field, subtle film grain, natural color balance.\nThe image should feel honest and unposed, with real skin texture, worn materials, and everyday detail. No glamorization, no heavy retouching."
}{
"aspect_ratio": "16:9",
"prompt": "Create a detailed Infographic of the functioning and flow of an automatic coffee machine like a Jura.\nFrom bean basket, to grinding, to scale, water tank, boiler, etc.\nI'd like to understand technically and visually the flow."
}GPT Image 2.6 Flare is the fast GPT Image 2.6 tier for everyday creative work, with better layout quality than 2.5 for posters, product shots, and other professional visuals. Three quality levels and 1K to 4K output.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Up to 32,000 characters. |
quality | low / medium / high | high | Higher quality costs more; high is the default. |
resolution | 1k / 2k / 4k | — | Output size tier; omit for 1K. |
aspect_ratio | 1:1 / 1:2 / 2:1 / 2:3 / 3:2 / 3:4 / 4:3 / 4:5 / 5:4 / 9:16 / 16:9 / 9:21 / 21:9 | 1:1 | Output frame shape. |
output_format | jpeg / png / webp | png | Output file format. |
Price depends on quality and resolution, per image:
| Quality | 1k | 2k | 4k |
|---|---|---|---|
| low | $0.01 | $0.02 | $0.03 |
| medium | $0.024 | $0.04 | $0.07 |
| high (default) | $0.09 | $0.15 | $0.27 |
Failed runs are not charged.
low or medium, then rerun at high.Other GPT Image endpoints: openai/gpt-image-2.6-flare/edit, openai/gpt-image-2.6-sunburst, openai/gpt-image-2.6-sunburst/edit, openai/gpt-image-2.5-flare, openai/gpt-image-2.5-sunburst.
Comece a construir
Envie este modelo pela SandBase Unified Run API.
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-image-2.6-flare",
"prompt": "Generate an image of gray tabby cat hugging an otter with an orange scarf",
"quality": "high",
"aspect_ratio": "1:1",
"output_format": "png"
}'Crie uma chave da API SandBase e defina-a no ambiente do seu servidor. Todas as requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha a chave no servidor. Não a exponha em código do navegador nem a comite em um repositório.
Passe uma URL de arquivo acessível publicamente no campo de imagem, vídeo ou áudio do modelo. Os formatos e limites suportados são mostrados ao lado de cada entrada do Playground.
Use o controle de upload ou substituição nos campos de imagem suportados no Playground. Campos de URL de vídeo aceitam um vídeo de condução hospedado; isso não implica suporte a upload de vídeo.
promptstringobrigatórioThe text prompt to generate an image from.
Padrão: "Generate an image of gray tabby cat hugging an otter with an orange scarf"
qualitystringRendering quality. Higher quality adds detail at higher latency and cost.
Padrão: "high"
Valores possíveis: "low", "medium", "high"
resolutionstringThe resolution of the generated image. Leave unset to preserve the provider's standard dimensions.
Valores possíveis: "1k", "2k", "4k"
aspect_ratiostringThe aspect ratio of the generated image.
Padrão: "1:1"
Valores possíveis: "1:1", "1:2", "2:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "9:21", "21:9"
output_formatstringThe format of the generated image.
Padrão: "png"
Valores possíveis: "jpeg", "png", "webp"
{
"model": "openai/gpt-image-2.6-flare",
"prompt": "Generate an image of gray tabby cat hugging an otter with an orange scarf",
"quality": "high",
"aspect_ratio": "1:1",
"output_format": "png"
}Uma execução concluída expõe seu resultado em output. O texto a seguir é o exemplo salvo do modelo, não uma nova geração.
[
{
"url": "https://static.sandbase.ai/examples/9b776e74-0cc9-402b-86a9-ec48e7078eec/output/6a1a9c90-040b-4137-897c-8473f93ae7fb.png"
}
]