veryfront__create_image_generationAccess
No external-service connection is required. Use a Veryfront credential with access to the requested resources. Call type: Can change resources.Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project ID or slug |
prompt | string | Yes | Text description of the desired image (max 1000 characters) Minimum length: 1. Maximum length: 1000. |
count | integer | No | Number of images to generate (1-10, default: 1) Default: 1. Minimum: 1. Maximum: 10. |
seed | integer | No | Random seed for reproducible generation Minimum: 1. Maximum: 999999. |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.request.json
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "veryfront__create_image_generation",
"arguments": {
"prompt": "example"
}
}
}
Result
The published output shape is summarized below. Inspect both the MCP response content andisError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
sources | string[] | Yes | Deprecated compatibility projection: REST/MCP includes placeholders for ordinary item failures; GraphQL returns stored URLs only. New clients use generated results instead. |
count | integer | Yes | Deprecated compatibility count of sources. REST/MCP includes ordinary-failure placeholders. Use generated_count for successfully stored images. Minimum: 1. Maximum: 10. |
requested_count | integer | Yes | Number of requested image slots, including failed and skipped items. Minimum: 1. Maximum: 10. |
generated_count | integer | Yes | Images successfully generated and stored. Minimum: 1. Maximum: 10. |
failed_count | integer | Yes | Items that failed, including admission refusals before provider work; not a count of billable calls. Minimum: 0. |
skipped_count | integer | Yes | Items not attempted because an earlier refusal or configuration failure stopped the batch. Minimum: 0. |
results | object or object or object[] | Yes | List of results associated with this tool result. |
Full schemas
{
"type": "object",
"properties": {
"project_reference": {
"type": "string",
"description": "Project ID or slug"
},
"prompt": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "Text description of the desired image (max 1000 characters)"
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"description": "Number of images to generate (1-10, default: 1)",
"default": 1
},
"seed": {
"type": "integer",
"minimum": 1,
"maximum": 999999,
"description": "Random seed for reproducible generation"
}
},
"required": [
"prompt"
],
"additionalProperties": false,
"description": "Images are generated by the EU Azure FLUX.2-pro deployment and saved as public CDN assets. They are not project uploads: upload visibility, grants and deletion do not apply to them.",
"$schema": "http://json-schema.org/draft-07/schema#"
}
{
"type": "object",
"properties": {
"sources": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"maxItems": 10,
"description": "Deprecated compatibility projection: REST/MCP includes placeholders for ordinary item failures; GraphQL returns stored URLs only. New clients use generated results instead."
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"description": "Deprecated compatibility count of sources. REST/MCP includes ordinary-failure placeholders. Use generated_count for successfully stored images."
},
"requested_count": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"description": "Number of requested image slots, including failed and skipped items."
},
"generated_count": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"description": "Images successfully generated and stored."
},
"failed_count": {
"type": "integer",
"minimum": 0,
"description": "Items that failed, including admission refusals before provider work; not a count of billable calls."
},
"skipped_count": {
"type": "integer",
"minimum": 0,
"description": "Items not attempted because an earlier refusal or configuration failure stopped the batch."
},
"results": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"index": {
"type": "integer",
"minimum": 0,
"maximum": 9,
"description": "Zero-based position in the requested batch."
},
"outcome": {
"type": "string",
"const": "generated"
},
"url": {
"type": "string",
"minLength": 1
},
"upload_id": {
"type": [
"string",
"null"
],
"description": "Owned upload ID when this surface creates one; null for legacy CDN assets."
},
"error": {
"type": "null",
"description": "Error details returned by the tool."
}
},
"required": [
"index",
"outcome",
"url",
"upload_id",
"error"
],
"additionalProperties": false,
"description": "Structured option 1 details associated with this tool result."
},
{
"type": "object",
"properties": {
"index": {
"$ref": "#/properties/results/items/anyOf/0/properties/index",
"description": "The index returned by the tool."
},
"outcome": {
"type": "string",
"const": "failed"
},
"url": {
"type": "null"
},
"upload_id": {
"type": "null"
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"enum": [
"generation-failed",
"storage-failed",
"insufficient-credits",
"provider-spend-limit",
"provider-spend-unavailable",
"batch-stopped",
"not-configured"
]
}
},
"required": [
"code"
],
"additionalProperties": false,
"description": "Safe failure classification; never contains raw provider or storage errors."
}
},
"required": [
"index",
"outcome",
"url",
"upload_id",
"error"
],
"additionalProperties": false,
"description": "Structured option 2 details associated with this tool result."
},
{
"type": "object",
"properties": {
"index": {
"$ref": "#/properties/results/items/anyOf/0/properties/index",
"description": "The index returned by the tool."
},
"outcome": {
"type": "string",
"const": "skipped"
},
"url": {
"type": "null"
},
"upload_id": {
"type": "null"
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"const": "batch-stopped"
}
},
"required": [
"code"
],
"additionalProperties": false,
"description": "Error details returned by the tool."
}
},
"required": [
"index",
"outcome",
"url",
"upload_id",
"error"
],
"additionalProperties": false,
"description": "Structured option 3 details associated with this tool result."
}
],
"description": "One outcome per requested image, in request order. Skipped items were not attempted."
},
"minItems": 1,
"maxItems": 10,
"description": "List of results associated with this tool result."
}
},
"required": [
"sources",
"count",
"requested_count",
"generated_count",
"failed_count",
"skipped_count",
"results"
],
"additionalProperties": false,
"description": "A batch with at least one stored image. requested_count equals generated_count + failed_count + skipped_count. A batch with no stored images remains an error.",
"$schema": "http://json-schema.org/draft-07/schema#"
}