K Kyzen API

Documentation

Every endpoint returns the same response shape. On success you get { success, creator, result }, on failure you get { success, creator, message }. No API key is required.

Prefer an interactive spec? The full OpenAPI / Swagger UI is served directly from the API at https://kyzenid.zyanz4758.workers.dev/docs.

AI

Lightweight conversational and text-generation endpoints.

GET /api/ai/chat

Chat

Send a message to the Kyzen AI assistant and receive a conversational reply.

Parameter Type Required Description
text string Yes The message to send to the assistant.

Example request

GET https://kyzenid.zyanz4758.workers.dev/api/ai/chat?text=Hello%2C%20who%20are%20you%3F

Example response

{
  "success": true,
  "creator": "Kyzen API",
  "result": {
    "reply": "Hey! I'm the Kyzen AI assistant. How can I help you today?"
  }
}
GET /api/ai/prompt

Prompt

Generate a freeform text completion from a custom prompt.

Parameter Type Required Description
text string Yes The prompt to complete.

Example request

GET https://kyzenid.zyanz4758.workers.dev/api/ai/prompt?text=Write%20a%20tagline%20for%20a%20coffee%20shop

Example response

{
  "success": true,
  "creator": "Kyzen API",
  "result": {
    "prompt": "Write a tagline for a coffee shop",
    "completion": "Brewed for the bold."
  }
}
GET /api/ai/summarize

Summarize

Summarize a block of text into a short, readable summary.

Parameter Type Required Description
text string Yes The text to summarize.

Example request

GET https://kyzenid.zyanz4758.workers.dev/api/ai/summarize?text=A%20long%20article%20about%20renewable%20energy...

Example response

{
  "success": true,
  "creator": "Kyzen API",
  "result": {
    "summary": "Renewable energy adoption is accelerating worldwide due to falling costs."
  }
}

Tools

Everyday developer utilities like QR codes and UUIDs.

GET /api/tools/qrcode

QR Code Generator

Generate a QR code image (SVG) for any text or URL.

Parameter Type Required Description
text string Yes The text or URL to encode.
size number No Size of the QR code in pixels.

Example request

GET https://kyzenid.zyanz4758.workers.dev/api/tools/qrcode?text=https%3A%2F%2Fkyzen.dev

Example response

{
  "success": true,
  "creator": "Kyzen API",
  "result": {
    "text": "https://kyzen.dev",
    "size": 256,
    "image": "data:image/svg+xml;base64,..."
  }
}
GET /api/tools/shorturl

URL Shortener

Create a short link that redirects to the original URL.

Parameter Type Required Description
url string Yes The destination URL.

Example request

GET https://kyzenid.zyanz4758.workers.dev/api/tools/shorturl?url=https%3A%2F%2Fexample.com%2Fvery%2Flong%2Fpath

Example response

{
  "success": true,
  "creator": "Kyzen API",
  "result": {
    "original": "https://example.com/very/long/path",
    "short": "https://kyz.sh/aB3xQ"
  }
}
GET /api/tools/password

Password Generator

Generate a secure random password.

Parameter Type Required Description
length number No Password length (default 16).
symbols boolean No Include special characters.

Example request

GET https://kyzenid.zyanz4758.workers.dev/api/tools/password

Example response

{
  "success": true,
  "creator": "Kyzen API",
  "result": {
    "password": "k7$Wq2!pLm9@Tz4X",
    "length": 16,
    "symbols": true
  }
}
GET /api/tools/uuid

UUID Generator

Generate one or more random UUID v4 values.

Parameter Type Required Description
count number No Number of UUIDs to generate (default 1, max 50).

Example request

GET https://kyzenid.zyanz4758.workers.dev/api/tools/uuid

Example response

{
  "success": true,
  "creator": "Kyzen API",
  "result": {
    "uuids": [
      "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ]
  }
}

Utility

Real-world data: weather, IP info, and currency rates.

GET /api/utility/weather

Weather

Get the current weather conditions for a city.

Parameter Type Required Description
city string Yes City name.

Example request

GET https://kyzenid.zyanz4758.workers.dev/api/utility/weather?city=Tokyo

Example response

{
  "success": true,
  "creator": "Kyzen API",
  "result": {
    "city": "Tokyo",
    "temperature": 24,
    "condition": "Clear",
    "humidity": 55
  }
}
GET /api/utility/ip

IP Lookup

Return information about the requester's IP address, or a provided IP.

Parameter Type Required Description
ip string No IP address to look up (defaults to caller's IP).

Example request

GET https://kyzenid.zyanz4758.workers.dev/api/utility/ip

Example response

{
  "success": true,
  "creator": "Kyzen API",
  "result": {
    "ip": "8.8.8.8",
    "country": "US",
    "city": "Mountain View"
  }
}
GET /api/utility/currency

Currency Conversion

Convert an amount from one currency to another using live exchange rates.

Parameter Type Required Description
from string Yes Source currency code.
to string Yes Target currency code.
amount number Yes Amount to convert.

Example request

GET https://kyzenid.zyanz4758.workers.dev/api/utility/currency?from=USD&to=EUR&amount=100

Example response

{
  "success": true,
  "creator": "Kyzen API",
  "result": {
    "from": "USD",
    "to": "EUR",
    "amount": 100,
    "converted": 92.45,
    "rate": 0.9245
  }
}

Fun

Quotes, facts, and jokes for bots and side projects.

GET /api/fun/animequote

Anime Quote

Get a random anime quote with character and anime name.

Example request

GET https://kyzenid.zyanz4758.workers.dev/api/fun/animequote

Example response

{
  "success": true,
  "creator": "Kyzen API",
  "result": {
    "quote": "Believe in yourself, not in the you who believes in me.",
    "character": "Kamina",
    "anime": "Gurren Lagann"
  }
}
GET /api/fun/facts

Random Fact

Get a random interesting fact.

Example request

GET https://kyzenid.zyanz4758.workers.dev/api/fun/facts

Example response

{
  "success": true,
  "creator": "Kyzen API",
  "result": {
    "fact": "Honey never spoils if stored properly."
  }
}
GET /api/fun/jokes

Random Joke

Get a random short joke.

Example request

GET https://kyzenid.zyanz4758.workers.dev/api/fun/jokes

Example response

{
  "success": true,
  "creator": "Kyzen API",
  "result": {
    "joke": "Why do programmers prefer dark mode? Because light attracts bugs."
  }
}

Image

On-the-fly generated image cards.

GET /api/image/quote

Quote Image

Generate a shareable image card containing a quote.

Parameter Type Required Description
text string Yes Quote text to render.
author string No Author name shown under the quote.

Example request

GET https://kyzenid.zyanz4758.workers.dev/api/image/quote?text=Simple.%20Fast.%20Reliable.

Example response

{
  "success": true,
  "creator": "Kyzen API",
  "result": {
    "text": "Simple. Fast. Reliable.",
    "author": "Kyzen API",
    "image": "data:image/svg+xml;base64,..."
  }
}
GET /api/image/profile

Profile Card

Generate a minimal profile card image from a name and role.

Parameter Type Required Description
name string Yes Name to display.
role string No Role or title to display.

Example request

GET https://kyzenid.zyanz4758.workers.dev/api/image/profile?name=Ada%20Lovelace

Example response

{
  "success": true,
  "creator": "Kyzen API",
  "result": {
    "name": "Ada Lovelace",
    "role": "Software Pioneer",
    "image": "data:image/svg+xml;base64,..."
  }
}