{"uid":"cap_hjIomCnDpcLpdbI5H_cbR","slug":"glianaai-flux-2-flex-image-generation-85bf5b79","name":"GlianaAI Flux-2-Flex Image Generation","description":"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.","url":"https://api.glianalabs.com/x402/flux-2-flex","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-flex","output":{"url":"https://api.glianalabs.com/v1/media/<id>"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.09","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.09/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Td4VF0cLYxbNQZXwGgmV3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.09","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-Flex model via a pay-per-call endpoint settled in USDC or card, with no API key required.","exampleAgentPrompt":"Use GlianaAI's Flux-2-Flex model to generate an image of a lone astronaut standing on a red Martian desert at golden hour, vast canyon in the background — I'll pay the $0.1125 per call in USDC.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the model name ('flux-2-flex'), an output object with a media URL or structured result (the generated image), and the amount charged in micro-USD.","failureModes":["Insufficient USDC balance causes payment failure and 402 response","Invalid or missing prompt field returns 400 validation error","Model overload or provider outage returns 503","Malformed x402 payment header causes authentication failure","Prompt violates content policy, returning 422 or similar refusal"],"whenToPreferThis":"Choose this endpoint when you need image generation from the Flux-2-Flex model specifically, want to pay per call in USDC (on Base, Solana, or Tempo) without any API key or signup, and your agent supports x402 micropayment protocol. Prefer this over OpenAI or Stability AI endpoints when crypto-native, keyless, per-call billing is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:59:13.096Z","isFirstParty":false}