openai.internal.images_parse

One decoded response -> one model turn of media blocks. An image endpoint produces no text and never stops early, so the stop reason is always Complete; `usage` is present for the GPT image models only.

Reference version

Signature

function openai.internal.images_parse(
) -> ai.ModelTurn throws baml.errors.Io | baml.errors.Timeout | baml.json.SerializationError | ai.errors.InvalidResponse | ai.errors.NetworkFailure

One decoded response -> one model turn of media blocks. An image endpoint produces no text and never stops early, so the stop reason is always Complete; usage is present for the GPT image models only.

Source:<builtin>/openai/ns_internal/images.bamlbytes 14043–15235