{"access":{"authentication":{"format":"L402 {macaroon}:{proof_of_payment}","header":"Authorization","protocols":["L402","MPP"],"format_mpp":"Payment <base64url_json>"},"endpoint":"https://sats4ai.com/api/l402/generate-text","method":"POST"},"content_type":"api","cover_url":"","description":"Generate text using the latest open source models. Price is dynamic based on input length. Supports file attachments (text as fileContext) and image analysis (base64 as imageData, Best model only).\n```\n{\n    \"input\": [{\"role\": \"User\", \"content\": \"Tell me a story of a Viking visiting Constantinople\"}],\n    \"model\": \"Best\",\n    \"fileContext\": \"optional extracted file text\",\n    \"imageData\": \"optional base64 data URI (Best model only)\"\n}\n```\nSend without Authorization first to receive a priced invoice.","name":"Text Generation"}