GPT Image 2 is good. These would like a word anyway.
GPT Image 2 is good. These would like a word anyway.
OpenAI's second-generation image model. Near-perfect typography (including non-Latin scripts), 2x faster than gpt-image-1.5, up to 2K resolution, and 'thinking' over the prompt for dense compositions.
fromimport openai OpenAI
# reads OPENAI_API_KEYclient = OpenAI()
response = client.chat.completions.create(
"gpt-image-2" model=,
"role""user""content""Hello!" messages=[{: , : }],
)
print(response.choices[0].message.content)Set OPENAI_API_KEY with your OpenAI API key from platform.openai.com/api-keys.
19 outputs · generated before accounting joined the chat
OpenAI's second-generation image model. Near-perfect typography (including non-Latin scripts), 2x faster than gpt-image-1.5, up to 2K resolution, and 'thinking' over the prompt for dense compositions.
fromimport openai OpenAI
# reads OPENAI_API_KEYclient = OpenAI()
response = client.chat.completions.create(
"gpt-image-2" model=,
"role""user""content""Hello!" messages=[{: , : }],
)
print(response.choices[0].message.content)Set OPENAI_API_KEY with your OpenAI API key from platform.openai.com/api-keys.
19 outputs · generated before accounting joined the chat