Skip to content
onelayer.
All tools

Tool detail

FLUX Image for Agents

Generates a still image from a text prompt via FLUX Schnell or Dev, returning a public WebP URL and SHA-256 receipt.

Categories: Image generation

Use when

  • generate a product visual, thumbnail, banner or ad creative from a text prompt
  • generate a logo concept or social graphic image

Not for

  • not video or animation — still images only
  • not for editing an existing image — text-to-image generation only

Inputs

POST JSON body: prompt (string 1-2000 chars, required); optional aspect_ratio (11 ratios, default 1:1), model (flux-schnell|flux-dev), quality_profile

Admitted input schema

{
  "type": "object",
  "properties": {
    "aspect_ratio": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "1:1",
        "16:9",
        "21:9",
        "3:2",
        "2:3",
        "4:5",
        "5:4",
        "3:4",
        "4:3",
        "9:16",
        "9:21"
      ],
      "default": "1:1"
    },
    "model": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "black-forest-labs/flux-schnell",
        "black-forest-labs/flux-dev",
        "flux-schnell",
        "flux-dev",
        "schnell",
        "flux",
        "dev"
      ],
      "description": "Optional commercial Replicate model in the same SKU price band. Defaults to black-forest-labs/flux-schnell. Aliases: flux-schnell, flux-dev. Never mediagen/SuperGrok. Response includes upstream_cost and gross_margin markup fields."
    },
    "prompt": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000,
      "description": "Text description of the image to generate."
    },
    "quality_profile": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "balanced",
        "raw"
      ],
      "description": "balanced applies versioned anti-artifact quality guidance; raw forwards the prompt unchanged.",
      "default": "balanced"
    }
  },
  "required": [
    "prompt"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://api.delx.ai/api/v1/x402/image

Payment

Protocol
x402
Listed price
0.01 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://api.delx.ai/api/v1/x402/image
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z