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

# InputImageRole

How this endpoint uses input\_references: edit transforms the input image; reference guides a new generation.

## Example Usage

```go theme={null}
import (
	"github.com/OpenRouterTeam/go-sdk/models/components"
)

value := components.InputImageRoleEdit

// Open enum: custom values can be created with a direct type cast
custom := components.InputImageRole("custom_value")
```

## Values

| Name | Value |
| - | - |
| `InputImageRoleEdit` | edit |
| `InputImageRoleReference` | reference |
