Call it
curl https://api.peume.com/v1/call/openai-gpt-image-2-5-sunburst \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"input": "your input"
}
}'const res = await fetch("https://api.peume.com/v1/call/openai-gpt-image-2-5-sunburst", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"input": "your input"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/openai-gpt-image-2-5-sunburst",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"input": "your input"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: openai-gpt-image-2-5-sunburst.
Parameters
inputRequiredobjectOther ways to do it
Same job, other sources, cheapest first.
OpenAI: GPT Image 2.5 (Flare / Sunburst)Generate images with GPT Image 2.5 through OpenAI-shaped async route, metered by quality and size.openai/gpt-image-2.5-flareGenerate or edit images with GPT Image 2.5 Flare through official model, priced per image by quality.OpenAI: GPT Image 2.5 (Flare / Sunburst)Generate or edit images with GPT Image 2.5. Flare is the fast default; Sunburst is the precise editor. The -official models are OpenAI's own metered channel, priced by quality
