# Myworker Agent API – AI Text Writing Service (tulis)

> Myworker Agent API – AI Text Writing Service (tulis) is a paid API for AI agents from crypto-micro-agent.mykira.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-23).

Generates AI-written text from a given input string using Cloudflare Workers AI, billed per call via x402 micropayment

## Facts

- Endpoint: GET https://crypto-micro-agent.mykira.workers.dev/api/agent/tulis?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/myworker-agent-api-ai-text-writing-service-tulis-5752ebc5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UF9Gjgx-ZPQCJVeHGv9L_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability myworker-agent-api-ai-text-writing-service-tulis-5752ebc5
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "hasil": "Teks hasil daripada model AI…",
  "servis": "tulis"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/myworker-agent-api-ai-text-writing-service-tulis-5752ebc5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from crypto-micro-agent.mykira.workers.dev](https://www.zero.xyz/host/crypto-micro-agent.mykira.workers.dev/llms.txt)
