Seamlessly integrate automatic image generation with chat conversations. When AI decides to create an image, the entire generation process is handled automatically - from prompt creation to delivery.
chat.send()
method. If you’re using chat.completions()
, you’ll need to manually call client.generateImage()
or use your own custom/3rd party image generation endpoint.chat.completions()
, the SDK will detect image prompts but will not automatically generate images or add them to chat history. You must handle this manually. Only chat.send()
provides fully automatic image generation and history management.