v0_generate_from_image
Generate React UI components from an image URL by analyzing the design and creating corresponding code.
Instructions
Generate UI components from an image reference. Analyzes the provided image and creates corresponding React components.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"imageUrl": "<imageUrl>"
},
"name": "v0_generate_from_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | v0 model to use for generation | v0-1.5-md |
| prompt | No | Optional additional instructions for the generation | |
| imageUrl | Yes | URL of the image to analyze and convert to UI components |