# Qwen Image Generator (Venice/x402)

> Qwen Image Generator (Venice/x402) is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.04/call, status unknown (last checked 2026-11-02).

Generates SFW images using Venice's Qwen image model, supporting text-in-image, bilingual prompts, diagrams, posters, and structured visual concepts, returning a permanent fal-hosted PNG URL.

## Facts

- Endpoint: POST https://x402.agentutility.ai/qwen-image?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/qwen-image-generator-venice-x402-d8d620fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PMnT_M3i1oMPq5YEuJrtR

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability qwen-image-generator-venice-x402-d8d620fa -d '<json body>'
```

Example prompt: Generate an image of a futuristic Tokyo cityscape at night with neon signs in both English and Japanese, 1024x1024 pixels, and make sure it avoids any dark or dystopian elements.

## When to prefer this

Choose this endpoint when you need Qwen's specific strengths: text-in-image rendering, bilingual (especially Chinese/English) prompt following, structured visual concepts like diagrams and posters, or when you want a fixed model route guaranteed to use qwen-image rather than a routing layer that might swap models. Prefer over gpt-image-2 when East Asian typography or bilingual labels in the image are required.

## Known failure modes

- Prompt exceeds 3000 characters — request rejected
- Width or height outside [256, 1024] range — validation error
- Venice API unavailable — upstream service error
- Content policy violation for borderline prompts — generation refused
- Invalid seed or non-numeric parameters — schema validation error

## How this service works

Generates SFW images with Venice's qwen-image model on a dedicated endpoint. Fixed-model route for Qwen Image generation, text-in-image attempts, bilingual prompt following, diagrams, posters, and structured visual concepts. Returns a permanent fal-hosted PNG URL.

## Output

Returns a JSON object containing the permanent fal.media-hosted PNG image URL, the model name ('qwen-image'), source tier ('qwen'), and the output image dimensions (width and height in pixels).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "prompt"
     ],
     "properties": {
      "seed": {
       "type": "number",
       "description": "Optional integer seed for reproducible output."
      },
      "steps": {
       "type": "number",
       "description": "Optional diffusion step count passed to Venice."
      },
      "width": {
       "type": "number",
       "description": "Output width in pixels. Range [256, 1024]. Default 1024."
      },
      "height": {
       "type": "number",
       "description": "Output height in pixels. Range [256, 1024]. Default 1024."
      },
      "prompt": {
       "type": "string",
       "description": "Image description. Up to 3000 chars."
      },
      "cfg_scale": {
       "type": "number",
       "description": "Optional classifier-free guidance scale passed to Venice."
      },
      "negative_prompt": {
       "type": "string",
       "description": "Optional text describing what to avoid in the image."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "tier": {
       "type": "string"
      },
      "model": {
       "type": "string"
      },
      "width": {
       "type": "integer"
      },
      "height": {
       "type": "integer"
      },
      "source": {
       "type": "string"
      },
      "image_url": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tier": "qwen",
  "model": "qwen-image",
  "width": 1024,
  "height": 1024,
  "source": "venice",
  "image_url": "https://v3.fal.media/files/abc/xyz/image.png"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/qwen-image-generator-venice-x402-d8d620fa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
