{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "so45mh30-nx-link",
  "title": "nx.link \u00b7 AI Prompt Rewriter",
  "url": "https://so45mh30.nx.link/",
  "category": "ai",
  "summary": "Transform and enhance prompts using AI rewriting with customizable instructions for tone and detail.",
  "seo": {
    "title": "nx.link x402 API: AI Prompt Rewriting Service",
    "description": "Rewrite prompts with AI via x402 micropayment. Transform prompts to be more detailed, professional, or tailored to specific requirements."
  },
  "use_cases": [
    "Rewrite prompts to be more detailed and professional",
    "Transform user inputs for better LLM responses",
    "Customize prompt tone and structure via API"
  ],
  "ideal_buyer": "Prompt engineering agents and LLM workflow optimizers needing automated prompt enhancement.",
  "example_prompt": "Rewrite this prompt to be more detailed and professional: 'Write a story about a cat'",
  "example_request_body": {
    "prompt": "Write a story about a cat",
    "instructions": "make this more detailed and professional"
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "expensive",
    "ratio": 3.333,
    "median_category_atomic": 30000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0xb6eb322a9e4aeb2a216455cb17d5311902414576",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "100000",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "AI Prompt Rewriter API https://llm-forwarder.afia-amine.workers.dev - POST Rewrite prompt with AI",
      "verified": false,
      "hints": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "latency_ms": {
                      "type": "number",
                      "format": "float",
                      "example": 245.67,
                      "description": "Total request processing time in milliseconds"
                    },
                    "rewritten_prompt": {
                      "type": "string",
                      "example": "Compose a comprehensive narrative featuring a feline protagonist, incorporating detailed character development and professional storytelling techniques.",
                      "description": "The AI-rewritten version of the original prompt"
                    }
                  }
                }
              }
            },
            "description": "Successful response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "detail": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "loc": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "example": [
                              "body",
                              "prompt"
                            ]
                          },
                          "msg": {
                            "type": "string",
                            "example": "Field required"
                          },
                          "type": {
                            "type": "string",
                            "example": "missing"
                          },
                          "input": {
                            "type": "null"
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "description": "Bad Request - Missing required fields"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "detail": {
                          "type": "string",
                          "example": "Invalid API key"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "properties": {
                        "detail": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "loc": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "example": [
                                  "header",
                                  "x-api-key"
                                ]
                              },
                              "msg": {
                                "type": "string",
                                "example": "Field required"
                              },
                              "type": {
                                "type": "string",
                                "example": "missing"
                              }
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            },
            "description": "Unauthorized - Invalid or missing API key"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "detail": {
                      "type": "string",
                      "example": "API key not configured on server"
                    }
                  }
                }
              }
            },
            "description": "Internal Server Error - API key not configured"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "prompt",
                  "instructions"
                ],
                "properties": {
                  "prompt": {
                    "type": "string",
                    "example": "Write a story about a cat",
                    "description": "The original prompt to be rewritten"
                  },
                  "instructions": {
                    "type": "string",
                    "example": "make this more detailed and professional",
                    "description": "Specific instructions for how to rewrite the prompt"
                  }
                }
              }
            }
          },
          "required": true
        }
      }
    }
  ],
  "origin": {
    "slug": "so45mh30-nx-link",
    "host": "so45mh30.nx.link",
    "title": "so45mh30.nx.link",
    "description": "An x402-payable API endpoint hosted on the nx.link platform. No additional service information is available from the origin.",
    "url": "https://so45mh30.nx.link"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/so45mh30-nx-link",
    "url": "https://x402all.com/resource/so45mh30-nx-link",
    "name": "nx.link \u00b7 AI Prompt Rewriter",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/so45mh30-nx-link",
      "@type": "Offer",
      "price": "0.1",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.100000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://so45mh30.nx.link/",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/so45mh30-nx-link",
      "url": "https://so45mh30.nx.link",
      "name": "so45mh30.nx.link",
      "@type": "Organization"
    },
    "identifier": "so45mh30-nx-link",
    "description": "Rewrite prompts with AI via x402 micropayment. Transform prompts to be more detailed, professional, or tailored to specific requirements.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=so45mh30-nx-link",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "ai"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=so45mh30-nx-link"
}
