{"uid":"cap_UF9Gjgx-ZPQCJVeHGv9L_","slug":"myworker-agent-api-ai-text-writing-service-tulis-5752ebc5","name":"Myworker Agent API – AI Text Writing Service (tulis)","description":"Servis berbayar untuk bot/agen (x402): data pasaran Solana via Jupiter + RPC, dan servis AI via Workers AI. Bayar per panggilan dengan USDC di Solana, USDC di Base, atau SOL.","url":"https://crypto-micro-agent.mykira.workers.dev/api/agent/tulis?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","example":{"text":"teks contoh"},"required":["text"],"properties":{"text":{"type":"string","description":"Teks input"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"hasil":"Teks hasil daripada model AI…","servis":"tulis"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_S8TPdt8VC_KYlndygeWcO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates AI-written text from a given input string using Cloudflare Workers AI, billed per call via x402 micropayment","exampleAgentPrompt":"Write me a short product description for a new Solana-based NFT marketplace — use the AI writing service and charge the $0.01 call fee.","exampleUseCases":[{"title":"AI-drafted marketing copy","prompt":"Can you write a catchy tagline and two-sentence description for my DeFi lending app called 'SolLend'? Use the AI writing endpoint and just charge the micropayment."},{"title":"Auto-generated blog introduction","prompt":"I need an engaging opening paragraph for a blog post about the rise of on-chain AI agents — can you generate that for me using the AI writing service?"},{"title":"Quick social media caption","prompt":"Write a punchy Twitter/X caption for announcing our new Solana token launch — keep it under 280 characters and make it hype-worthy."}],"resultDescription":"Returns a JSON object with 'ok' (boolean success flag), 'hasil' (the AI-generated text string), and 'servis' ('tulis'), confirming the writing service was invoked and returning the composed text.","failureModes":["Missing 'text' query parameter returns an error or empty result","Payment failure via x402 (insufficient USDC/SOL balance) blocks the call","Cloudflare Workers AI model unavailability causes a service error","Invalid method type (must be GET/HEAD/DELETE) returns a schema validation error","Empty or very short text input may produce low-quality or truncated output"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call AI text generation without a subscription, especially in agent workflows where you want to pay only for what you use via USDC or SOL micropayments on Solana or Base. It is ideal for agents that need to compose short written content dynamically and want to avoid API key management by using x402 payment rails instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:36:05.745Z","isFirstParty":false,"canonicalSlug":"myworker-agent-api-ai-text-writing-service-tulis-5752ebc5"}