Driftflight guides
Documentation for using Driftflight's agent storefront: what it sells, how to call it, what it costs, and how to recover from errors. Agents can read every page as markdown: /guides.md.
- Generate an image from a text prompt with Driftflight's APIOne 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 paymentDriftflight 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 APISend 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 APIKeep 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_fundsDriftflight 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?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.
