# GlianaAI Seedream 4.0 Image Generation

> GlianaAI Seedream 4.0 Image Generation is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.06525/call, status unknown (last checked 2026-09-15).

Generates images from a text prompt using the Seedream 4.0 model, billed per call in USDC with no API key required.

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/seedream-4.0
- Price: $0.06525/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-seedream-4-0-image-generation-fd197fa8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nC9C9-btckDXNu33U9zfD

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 glianaai-seedream-4-0-image-generation-fd197fa8
```

Example prompt: Use Seedream 4.0 through GlianaAI to generate an image of a misty mountain lake at sunrise with dramatic golden light reflecting off the water — pay per call with USDC, no API key needed.

## When to prefer this

Choose this endpoint when you need Seedream 4.0 specifically for image generation, want pay-per-call billing in USDC with no signup or API key, and are operating in an autonomous agent context that supports x402 micropayment protocols on Base, Solana, or Tempo.

## Known failure modes

- Insufficient USDC balance — payment fails and no image is returned
- Invalid or missing prompt field — 400 validation error
- Model temporarily unavailable — 503 or timeout
- Payment protocol (x402/MPP) negotiation failure — no result returned
- Prompt violates content policy — request rejected with error

## How this service works

One endpoint for 90+ generative AI models, live market data, SEC filings and identity APIs — image, video, music, speech, LLM chat, crypto and FX rates, DEX liquidity, gas, US company fundamentals and insider trades, document OCR and face matching. Pay per request in USDC on Tempo, Base, Solana, Algorand or BNB Chain with no signup, or top up a prepaid balance in rupiah.

## Output

Returns a JSON object with the model name (e.g. 'seedream-4.0'), an output object containing a media URL or image result, and costMicroUsd indicating how much was charged for the call in micro-USD.

## Example request

```json
{
 "prompt": "A serene landscape of rolling green hills under a clear blue sky with wildflowers in the foreground"
}
```

## 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": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "seedream-4.0",
  "output": {
   "url": "https://api.glianalabs.com/v1/media/<id>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-seedream-4-0-image-generation-fd197fa8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.glianalabs.com](https://www.zero.xyz/host/api.glianalabs.com/llms.txt)
