spraay_compute_image_generation
Generate images from text prompts using FLUX and SDXL models, paying $0.02-$0.08 USDC per request without API keys.
Instructions
Generate images via Spraay Compute. FLUX Schnell, FLUX Dev, SDXL via Replicate. Text to image. Costs $0.02-$0.08 USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model: 'auto', 'flux-schnell', 'flux-dev', 'sdxl'. Auto picks fastest. | auto |
| width | No | Image width in pixels (default 1024) | |
| height | No | Image height in pixels (default 1024) | |
| prompt | Yes | Text prompt describing the image to generate | |
| num_outputs | No | Number of images to generate (1-4) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |