veryfront__create_image_generation
Requires project.files.write.
Access
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
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__create_image_generation",7 "arguments": {8 "prompt": "example"9 }10 }11}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
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
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project ID or slug"7 },8 "prompt": {9 "type": "string",10 "minLength": 1,11 "maxLength": 1000,12 "description": "Text description of the desired image (max 1000 characters)"13 },14 "count": {15 "type": "integer",16 "minimum": 1,17 "maximum": 10,18 "description": "Number of images to generate (1-10, default: 1)",19 "default": 120 },21 "seed": {22 "type": "integer",23 "minimum": 1,24 "maximum": 999999,25 "description": "Random seed for reproducible generation"26 }27 },28 "required": [29 "prompt"30 ],31 "additionalProperties": false,32 "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.",33 "$schema": "http://json-schema.org/draft-07/schema#"34}output-schema.json
1{2 "type": "object",3 "properties": {4 "requested_count": {5 "type": "integer",6 "minimum": 1,7 "maximum": 10,8 "description": "Number of requested image slots, including failed and skipped items."9 },10 "generated_count": {11 "type": "integer",12 "minimum": 1,13 "maximum": 10,14 "description": "Images successfully generated and stored."15 },16 "failed_count": {17 "type": "integer",18 "minimum": 0,19 "description": "Items that failed, including admission refusals before provider work; not a count of billable calls."20 },21 "skipped_count": {22 "type": "integer",23 "minimum": 0,24 "description": "Items not attempted because an earlier refusal or configuration failure stopped the batch."25 },26 "results": {27 "type": "array",28 "items": {29 "anyOf": [30 {31 "type": "object",32 "properties": {33 "index": {34 "type": "integer",35 "minimum": 0,36 "maximum": 9,37 "description": "Zero-based position in the requested batch."38 },39 "outcome": {40 "type": "string",41 "const": "generated"42 },43 "url": {44 "type": "string",45 "minLength": 146 },47 "upload_id": {48 "type": [49 "string",50 "null"51 ],52 "description": "Owned upload ID when this surface creates one; null for legacy CDN assets."53 },54 "error": {55 "type": "null",56 "description": "Error details returned by the tool."57 }58 },59 "required": [60 "index",61 "outcome",62 "url",63 "upload_id",64 "error"65 ],66 "additionalProperties": false,67 "description": "Structured option 1 details associated with this tool result."68 },69 {70 "type": "object",71 "properties": {72 "index": {73 "$ref": "#/properties/results/items/anyOf/0/properties/index",74 "description": "The index returned by the tool."75 },76 "outcome": {77 "type": "string",78 "const": "failed"79 },80 "url": {81 "type": "null"82 },83 "upload_id": {84 "type": "null"85 },86 "error": {87 "type": "object",88 "properties": {89 "code": {90 "type": "string",91 "enum": [92 "generation-failed",93 "storage-failed",94 "insufficient-credits",95 "provider-spend-limit",96 "provider-spend-unavailable",97 "batch-stopped",98 "not-configured"99 ]100 }101 },102 "required": [103 "code"104 ],105 "additionalProperties": false,106 "description": "Safe failure classification; never contains raw provider or storage errors."107 }108 },109 "required": [110 "index",111 "outcome",112 "url",113 "upload_id",114 "error"115 ],116 "additionalProperties": false,117 "description": "Structured option 2 details associated with this tool result."118 },119 {120 "type": "object",121 "properties": {122 "index": {123 "$ref": "#/properties/results/items/anyOf/0/properties/index",124 "description": "The index returned by the tool."125 },126 "outcome": {127 "type": "string",128 "const": "skipped"129 },130 "url": {131 "type": "null"132 },133 "upload_id": {134 "type": "null"135 },136 "error": {137 "type": "object",138 "properties": {139 "code": {140 "type": "string",141 "const": "batch-stopped"142 }143 },144 "required": [145 "code"146 ],147 "additionalProperties": false,148 "description": "Error details returned by the tool."149 }150 },151 "required": [152 "index",153 "outcome",154 "url",155 "upload_id",156 "error"157 ],158 "additionalProperties": false,159 "description": "Structured option 3 details associated with this tool result."160 }161 ],162 "description": "One outcome per requested image, in request order. Skipped items were not attempted."163 },164 "minItems": 1,165 "maxItems": 10,166 "description": "List of results associated with this tool result."167 }168 },169 "required": [170 "requested_count",171 "generated_count",172 "failed_count",173 "skipped_count",174 "results"175 ],176 "additionalProperties": false,177 "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.",178 "$schema": "http://json-schema.org/draft-07/schema#"179}