# GlianaAI — Gemini 3.6 Flash (Text-to-Image)

> GlianaAI — Gemini 3.6 Flash (Text-to-Image) is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.01129/call, status unknown (last checked 2026-09-14).

Generates an image from a text prompt using Google's Gemini 3.6 Flash model, returning a hosted media URL, billed per-request in USDC with no signup required.

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/gemini-3.6-flash
- Price: $0.01129/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-gemini-3-6-flash-text-to-image-79b5a85e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vicMbVM6H6asumg3npQD7

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-gemini-3-6-flash-text-to-image-79b5a85e
```

Example prompt: Generate an image of a futuristic Tokyo skyline at sunset with neon reflections on wet streets — use the Gemini 3.6 Flash model and give me a link to the result.

## When to prefer this

Choose this endpoint when you specifically need Google's Gemini 3.6 Flash model for image generation, want pay-per-call billing in USDC with no account signup, need a hosted image URL returned immediately, or are building on Base/Solana/Tempo payment rails. Prefer over alternatives when Gemini's specific visual style or speed/cost profile is required.

## Known failure modes

- Missing or empty 'input' body results in validation error
- Invalid HTTP method (non-GET) returns method not allowed
- Payment failure or insufficient USDC balance blocks the request
- Prompt too long or containing disallowed content may be rejected by the model
- Model unavailability or upstream Google API outage returns a service error
- Malformed JSON body returns a 400 bad request

## How this service works

GlianaAI - pay-per-call AI: LLM chat (OpenAI-compatible), image, video, music, speech - 90+ models, no signup, USDC. This resource: gemini-3.6-flash (Text Generation). https://ai.glianalabs.com

## Output

Returns a JSON object containing the model name ('gemini-3.6-flash') and an output object with a 'url' field pointing to the hosted generated image at https://api.glianalabs.com/v1/media/<id>. The image can be accessed directly via the returned URL.

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-gemini-3-6-flash-text-to-image-79b5a85e/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)
