gpt-image-1

Neural Network

Beep-boop, writing text for you...
pc1pc2pc3pc4
Main

/

Models

/

gpt-image-1
4 096

Max answer length

(in tokens)

4 095

Context size

(in tokens)

157,14

Prompt cost

(per 1M tokens)

1,18

Image prompt

(per 1K tokens)

Overview
Providers
API

Caps remaining: 0 CAPS
Providers gpt-image-1On Bothub, you can select your own providers for requests. If you haven't made a selection, we will automatically find suitable providers who can handle the size and parameters of your request.
Code example and API for gpt-image-1We offer full access to the OpenAI API through our service. All our endpoints fully comply with OpenAI endpoints and can be used both with plugins and when developing your own software through the SDK.Create API key
Javascript
Python
Curl
import OpenAI from 'openai';
const openai = new OpenAI({
  apiKey: '<your bothub access token>',
  baseURL: 'https://openai.bothub.chat/v1'
});

async function main() {
  const response = await openai.images.generate({
    model: 'gpt-image-1',
    prompt: 'a white siamese cat',
    n: 1,
    size: '1024x1024'
  });

  const imageUrl = response.data[0].url;
} 
main();

How it works gpt-image-1?

Bothubs gather information...empty