> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Image Result • Rust AI Agent SDK

> ImageResult: Result of image generation

# ImageResult

> Defined in the [**agents**](../modules/agents) module.

<Badge color="orange">Rust AI Agent SDK</Badge>

Result of image generation

## Fields

| Name             | Type                   | Description                        |
| ---------------- | ---------------------- | ---------------------------------- |
| `url`            | `Option&lt;String&gt;` | URL of the generated image         |
| `b64_json`       | `Option&lt;String&gt;` | Base64-encoded image data          |
| `revised_prompt` | `Option&lt;String&gt;` | Revised prompt used for generation |

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/agents/mod.rs#L333">
  `praisonai/src/agents/mod.rs` at line 333
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Image" icon="image" href="/docs/rust/image" />

  <Card title="Rust Vision" icon="eye" href="/docs/rust/vision" />
</CardGroup>
