OHGROK / Integration guide
Combine images and text
Coordinate separate text and image requests in your application.
On this page
Two models, one composition
First use a text model to draft copy and an image prompt. Send that prompt to the image endpoint. Combine the returned image and text in your own layout. This is application orchestration, not an additional combined API endpoint.
Track both requests
Store each request’s model, group and usage separately. Total cost is the sum of the text and image costs. Retry only the failed step after checking its recorded outcome.