OpenAI
在线

GPT-Image-2

OpenAI image generation & editing model. Text-to-image and image-to-image. Billed per token (text + image tokens).

模型 ID: tokenfast/gpt-image-2

规格

上下文窗口

128K Token

最大输出

N/A

输入价格

$7.20 / 1M

输出价格

$27.00 / 1M

能力

image_generation
Vision

价格对比

看看相对官方价格能节省多少。

指标官方价格我们的价格节省
输入(每 1M Token)$8.00$7.2010% 折扣
输出(每 1M Token)$30.00$27.0010% 折扣

快速开始

通过我们的 OpenAI 兼容 API 端点调用此模型。

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.yourdomain.com/v1",
  apiKey: "sk-your-api-key",
});

const response = await client.chat.completions.create({
  model: "tokenfast/gpt-image-2",
  messages: [
    { role: "user", content: "Hello! What can you help me with?" },
  ],
  max_tokens: 1024,
});

console.log(response.choices[0].message.content);

价格汇总

输入$7.20 / 1M
输出$27.00 / 1M

厂商

OpenAI

OpenAI

AI research and deployment company behind GPT-4o, o3, and the DALL-E image generation models.

访问官网