# Driftflight AI image generation with style presets: production-quality text-to-image for campaigns, catalogs, and editorial. Three tiers (sketch, studio, gallery), commercial licence and C2PA credentials on every render. ## API reference, endpoint lookup and prices **[Driftflight API catalog: endpoints, request parameters, prices and payment methods](https://agents.driftflight.com/zcj/rqqdf3df0a6w/zeroclick/agent/guide).** Tell the seller advisor what you want to accomplish. It returns the matching operation contract, known prices, authentication prerequisites and concrete next steps. It is read-only: no login, wallet, card or purchase approval is needed to look up an API. It never executes a sale. Available API services: Image generation. **Suggested next request:** GET [task guide](https://agents.driftflight.com/zcj/rqqdf3df0a6w/zeroclick/agent/guide?goal=URL_ENCODED_TASK). Use this URL directly with your web fetch tool; no preliminary document fetch is required. Include known inputs and desired output in the goal. Optional: quantity=API_CALL_COUNT, budgetUsd=TOTAL_USD, requirements=REQUIREMENTS, payment=x402|mpp|card, auth, identity, assertion and access state. Omit unknowns. Do not equate output items with API calls or guess a call count. For private task details or known request arguments, POST https://agents.driftflight.com/zcj/rqqdf3df0a6w/zeroclick/agent/guide with Content-Type: application/json. Example: {"intent":"quote","goal":"YOUR_TASK","purchase":{"budgetUsd":"5.00"}}. Replace the task and budget with known facts; budgetUsd is a string. Include known buyerState, paymentCapabilities and arguments. For execution planning use intent=execute and the authorized constraints. Exact fields: [request schema](https://agents.driftflight.com/zcj/rqqdf3df0a6w/zeroclick/agent/schema). GET and POST are alternatives, not mandatory stages. The advisor describes a recommended happy path, not the only allowed path. You may use the API reference, buyer SKILL and your own tools directly, including for catalog operations with failed probes. Missing guidance or an unverified probe is not a policy refusal. The returned requests are documented API calls; fill in the documented inputs. Check usage cost AND minimum cash required against the budget. For needs_input, supply only missing facts. Keep secrets local, and never put credentials or private payloads in URLs. Unknown does not mean absent. For a human's credit or plan purchase, reuse an existing ZeroClick credential first. Otherwise use their signed-in Link account for identity as well as payment, sharing their email only if they agree. An empty or expired Link credential list means request a credential, not fall back to anonymous. Follow [Link identity setup](https://agents.driftflight.com/zcj/rqqdf3df0a6w/auth.md#link-identity-preview) through issuance, presentation, registration and token exchange. Anonymous auth remains available for agents acting on their own behalf with no human in the loop. Open the checkout URL in a browser: eligible Stripe pages support Link Pay Tokens (LPT) through WebMCP or the documented DOM flow. Follow this storefront's /payment/card.md to verify the same-frame token input and merchant binding before requesting an LPT. Token submission requires payment authorization. If unavailable, privately send the checkout URL to your human to pay. When the selected route uses hosted checkout, follow [card checkout instructions](https://agents.driftflight.com/zcj/rqqdf3df0a6w/payment/card.md) before requesting a token. LPT goes only to Stripe, never to the advisor or ZeroClick API. Poll the returned statusUrl before using credit or retrying delivery. Verify delivery; a payment or HTTP 202 is not completion. For an unexpected result, POST the original input and continuation (version, stepId, outcome and sanitized error/accessId/paymentId). Reconcile uncertain payments or writes before retrying. Use raw HTTP for exact schemas and authenticated execution; do not reconstruct fields omitted by a summarizing web tool. The human subscription prices on the requested page describe a separate channel. Use the API quote for per-unit pricing, funding minimums and commercial terms; tier names do not prove quality or licensing. For an alternative documented path, use the [buyer SKILL](https://agents.driftflight.com/zcj/rqqdf3df0a6w/SKILL.md) or [full direct workflow reference](https://agents.driftflight.com/zcj/rqqdf3df0a6w/llms-full.txt). Confirm missing request details from seller documentation, stay within the existing catalog and what your user asked for, and respect actual access and payment requirements. ## References - [Buyer SKILL](https://agents.driftflight.com/zcj/rqqdf3df0a6w/SKILL.md): read as a skill when needed. - [Complete reference](https://agents.driftflight.com/zcj/rqqdf3df0a6w/llms-full.txt): advisor workflow and direct fallback. - [Catalog](https://agents.driftflight.com/zcj/rqqdf3df0a6w/manifest.json): services, plans and prices. - [OpenAPI](https://agents.driftflight.com/zcj/rqqdf3df0a6w/openapi.json): exact operation schemas. ## Guides - [Generate an image from a text prompt with Driftflight's API](https://agents.driftflight.com/zcj/rqqdf3df0a6w/guides/quickstart.md): One POST to Driftflight's text-to-image API returns a 402 price quote. Pay it over x402 or MPP, retry the same request and save the image. - [Driftflight API pricing: price per image, credits and payment](https://agents.driftflight.com/zcj/rqqdf3df0a6w/guides/pricing-for-agents.md): Driftflight image generation is priced per image by tier, the same on pay as you go and prepaid credits, and paid over x402, MPP or card-funded credits. - [Generate images in Claude Code with Driftflight's text-to-image API](https://agents.driftflight.com/zcj/rqqdf3df0a6w/guides/generate-images-in-claude-code.md): Send one capped request to Driftflight's storefront from Claude Code, pay the 402 quote, and save the image into the repository. No API key. - [Generate consistent product images with Driftflight's API](https://agents.driftflight.com/zcj/rqqdf3df0a6w/guides/consistent-product-images.md): Keep a product image set consistent with Driftflight's API: fix the preset, prompt template and tier, draft on sketch, render each product on studio. - [Driftflight API errors: 402, bearer_required, insufficient_funds](https://agents.driftflight.com/zcj/rqqdf3df0a6w/guides/storefront-errors.md): Driftflight storefront error codes with the recovery that cannot charge twice: the 402 price quote, payment, identity, plan and request errors. - [Can AI agents buy images from Driftflight?](https://agents.driftflight.com/zcj/rqqdf3df0a6w/guides/can-ai-agents-buy-from-driftflight.md): Yes. Agents buy Driftflight images per call with no account or API key by paying a 402 quote over x402 or MPP. A card buys prepaid credits.