mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
18 lines
5.1 KiB
Plaintext
18 lines
5.1 KiB
Plaintext
---
|
|
title: "OutputImageGenerationServerToolItem"
|
|
---
|
|
|
|
An openrouter:image_generation server tool output item
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description | Example |
|
|
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
|
|
| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | |
|
|
| `image_b64` | *Optional[str]* | :heavy_minus_sign: | N/A | |
|
|
| `image_url` | *Optional[str]* | :heavy_minus_sign: | N/A | |
|
|
| `result` | *OptionalNullable[str]* | :heavy_minus_sign: | The generated image as a base64-encoded string or URL, matching OpenAI image_generation_call format | |
|
|
| `revised_prompt` | *Optional[str]* | :heavy_minus_sign: | N/A | |
|
|
| `status` | [components.ToolCallStatus](../components/toolcallstatus.mdx) | :heavy_check_mark: | N/A | completed |
|
|
| `type` | [components.OutputImageGenerationServerToolItemType](../components/outputimagegenerationservertoolitemtype.mdx) | :heavy_check_mark: | N/A | | |