OutputImageGenerationServerToolItem - Go SDK

OutputImageGenerationServerToolItem type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

An openrouter:image_generation server tool output item

Fields

FieldTypeRequiredDescriptionExample
ID*stringN/A
ImageB64*stringN/A
ImageURL*stringN/A
Resultoptionalnullable.OptionalNullable[string]The generated image as a base64-encoded string or URL, matching OpenAI image_generation_call format
RevisedPrompt*stringN/A
Statuscomponents.ToolCallStatus✔️N/Acompleted
Typecomponents.OutputImageGenerationServerToolItemType✔️N/A