Imagen 4
google/imagen-4ImageText to image.
Per image€0.036one image, any size
Typical time8 sfrom request to result
Uptime99.90%last 30 days
DeliveryAsynctask ID, then the result
Uptime · 30 days99.90%
Measured on our own gateway, per day.
Good fit for
- Product shots, ads and illustrations
import osfrom openai import OpenAI client = OpenAI( base_url="https://api.nexrouting.com/v1", api_key=os.environ["NEXROUTING_API_KEY"],) reply = client.chat.completions.create( model="google/imagen-4", messages=[{"role": "user", "content": "Hello"}],)