{"uid":"cap_iMFuZg54SuIU04IeAqX4E","slug":"glianaai-flux-2-pro-preview-pay-per-call-image-generation-0d508fe9","name":"GlianaAI Flux 2 Pro Preview — Pay-Per-Call Image Generation","description":"GlianaAI — flux-2-pro-preview (text-to-image)","url":"https://api.glianalabs.com/x402/flux-2-pro-preview","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":{"type":"json","example":{"model":"flux-2-pro-preview","output":{"url":"https://api.glianalabs.com/v1/media/<id>"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.054","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.054/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D8u8OiPTltoB3D1C8XWuT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images using the Flux 2 Pro Preview model via a pay-per-call endpoint settled in USDC with no API key required","exampleAgentPrompt":"Generate a photorealistic image of a misty Japanese forest at dawn with soft golden light filtering through ancient cedar trees — use Flux 2 Pro Preview and pay in USDC.","exampleUseCases":null,"resultDescription":"Returns a JSON object with the model name used ('flux-2-pro-preview'), an output object containing the generated media URL or result, and costMicroUsd indicating how much was charged in micro-USD for that single call.","failureModes":["Insufficient USDC balance causes payment failure and 402 response","Invalid or empty prompt returns a 400 validation error","Model-specific input format mismatch (consult GET /v1/schema?model= for correct schema)","Network timeout during inference for complex prompts","Payment settlement failure on selected chain (Tempo, Base, or Solana)","Rate limiting if too many concurrent requests are submitted"],"whenToPreferThis":"Choose this endpoint when you need to generate images using the Flux 2 Pro Preview model specifically, want pay-per-call billing in USDC without any signup or API key management, and are operating an autonomous AI agent that can handle x402 micropayment flows on Base, Solana, or Tempo. Prefer this over traditional API-key services when building agent workflows that need trustless, on-chain payment settlement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:46:57.760Z","isFirstParty":false}