> ## 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 • Rust AI Agent SDK

> image: Create image content

# image

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**MCPContent**](../classes/MCPContent) class in the [**mcp**](../modules/mcp) module.

Create image content

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def image(data: impl Into<String>, mime_type: impl Into<String>) -> Self
```

## Parameters

<ParamField query="data" type="impl Into<String>" required={true}>
  No description available.
</ParamField>

<ParamField query="mime_type" type="impl Into<String>" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Self">
  The result of the operation.
</ResponseField>

***

## 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>
