---
title: "vision.image-request@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/vision.image-request"
updated: null
---

# vision.image-request@1 · OpenVibe.Services

HTML: [vision.image-request@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/vision.image-request)

# VisionImageRequest `vision.image-request@1`

Generated at 2026-11-13 06:25:48 UTC from [`openvibe-contracts v0.419.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.419.0) and [`openvibe-sdk v0.161.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.161.0).

- Version: 1.0.0
- Owner: vision
- Visibility: public
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/vision/image-request.v1.json`](/docs/contracts/vision.image-request.json)

vision.image-request@1: one image for OpenVibe.Vision's one-shot tools, as a data URL or a public URL. The multipart form field \`image\` carries the same bytes. Private tools (find, index, watch, moments) accept only uploaded bytes or a data URL, never an unverified source URL.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `image` | string |  | The image as a data URL (base64). | - `pattern ^data:image/` |
| `image_url` | string |  | A public image URL, fetched through Vision's private-address guard. | - `pattern ^https?://`<br>- `format uri` |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: one

~~~~
{
  "image": "data:image/png;base64,iVBORw0KGgo="
}
~~~~

Rejected: one

~~~~
{
  "image": "https://example.com/a.png"
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('vision.image-request@1', value);   // { valid, errors: [{ path, message }] }
~~~~
