# GlianaAI Recraft v4-1 Vector Image Generation

> GlianaAI Recraft v4-1 Vector Image Generation is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.144/call, status unknown (last checked 2026-09-14).

Generates vector-style images from a text prompt using the Recraft v4-1 model, billed at $0.18 USDC per call via x402 micropayment protocol

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/recraftv4-1-vector
- Price: $0.144/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-recraft-v4-1-vector-image-generation-3af032a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QpmJEsUZrb5pl5_Pljbzs

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-recraft-v4-1-vector-image-generation-3af032a4
```

Example prompt: Use GlianaAI's Recraft v4-1 vector model to generate a clean vector illustration of a red fox sitting under a pine tree — I want it in a flat design style suitable for a logo.

## When to prefer this

Choose this endpoint when you need vector-style AI-generated images (clean, scalable, SVG-suitable output) via the Recraft v4-1 model, and want to pay per-call in USDC without maintaining an API key or subscription. Ideal for agents that need on-demand creative asset generation with crypto micropayment settlement on Base, Solana, or Tempo.

## Known failure modes

- Payment failure: insufficient USDC balance or invalid x402 payment header results in 402 Payment Required
- Invalid prompt: empty or malformed prompt string returns a 400 Bad Request
- Model unavailable: service outage or model overload may return 503
- Unsupported parameters: extra fields beyond prompt without checking schema may be silently ignored or rejected
- Rate limiting: too many concurrent requests may result in 429 Too Many Requests

## How this service works

GlianaAI — recraftv4-1-vector (text-to-image)

## Output

Returns a JSON object containing the model name ('recraftv4-1-vector'), an output object with a media URL pointing to the generated vector image, and costMicroUsd indicating the amount charged in micro-USD for this request.

## 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": "recraftv4-1-vector",
  "output": {
   "url": "https://api.glianalabs.com/v1/media/<id>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-recraft-v4-1-vector-image-generation-3af032a4/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)
