openai/gpt-imageBy OpenAI.
import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://odysseyapi.tech/v1", apiKey: process.env.ODYSSEY_API_KEY,}); const result = await client.images.generate({ model: "openai/gpt-image", prompt: "A lighthouse on a cliff at dusk, oil painting.", size: "1024x1024",}); console.log(result.data?.[0]?.b64_json ?? result.data?.[0]?.url);Last 30 days
You haven't called this model in the last 30 days.
Every image is billed at the same price