# PayWeave Fal – ByteDance Seedream v4 Text-to-Image

> PayWeave Fal – ByteDance Seedream v4 Text-to-Image is a paid API for AI agents from fal.payweave.services, paid per call via x402, $0.06/call, status unknown (last checked 2026-09-15).

Generates a high-quality image from a text prompt using ByteDance's Seedream v4 model, billed per call via x402 at $0.06 USDC.

## Facts

- Endpoint: POST https://fal.payweave.services/models/fal-ai/bytedance/seedream/v4/text-to-image/run
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payweave-fal-bytedance-seedream-v4-text-to-image-27dc0bfa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Cl26XyiEibMXHhrtr4Z22

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 payweave-fal-bytedance-seedream-v4-text-to-image-27dc0bfa -d '<json body>'
```

Example prompt: Generate an image of a serene Japanese zen garden at golden hour, with raked sand patterns and a small stone lantern, using Seedream v4 — photorealistic, wide landscape format.

## When to prefer this

Choose this endpoint when you need pay-per-call text-to-image generation with no subscription, specifically using ByteDance's Seedream v4 model via fal.ai, and want crypto (USDC/x402) billing. Prefer this over subscription-based APIs when running low-volume or agentic one-off image generation tasks where per-call pricing is more economical.

## Known failure modes

- Payment failure or insufficient USDC balance (x402 payment rejected)
- Invalid or missing 'input' object in request body (400 validation error)
- Model inference error returned in 'error' field with null output
- CDN URL expiry after ~24 hours — images must be saved promptly
- Rate limiting or upstream fal.ai service unavailability (5xx)

## How this service works

Sub-second generative AI inference — image, video, audio.

## Output

Returns a JSON object containing a fal request ID, the model name, a 'succeeded' status, one or more CDN-hosted image URLs (valid for ~24 hours), inference time in seconds, and the USD amount charged for the call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "prompt"
   ],
   "properties": {
    "seed": {
     "type": "integer",
     "minimum": 0,
     "description": "Random seed; omit for non-deterministic outputs."
    },
    "prompt": {
     "type": "string",
     "maxLength": 5000,
     "minLength": 1,
     "description": "Text prompt describing the desired image."
    },
    "enable_safety_checker": {
     "type": "boolean"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payweave-fal-bytedance-seedream-v4-text-to-image-27dc0bfa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fal.payweave.services](https://www.zero.xyz/host/fal.payweave.services/llms.txt)
