Fake Haiku Machine

⚡ Generators 🌭 Mild 2,005 calls

The Fake Haiku Machine API composes a 5-7-5 haiku on any topic by stitching together curated lines. Returns the three lines, an estimated syllable count per line, a meter warning if the topic is long, and an attribution.

Try It — No Seriously

Fake Haiku Machine.exe
_ ×
The topic.

Parameters

Parameter Type Required Default Description
topic string Required The topic.

Examples

curl "https://api.stupidapis.com/fake-haiku-machine/compose?topic=tea"
import requests

response = requests.get("https://api.stupidapis.com/fake-haiku-machine/compose", params={"topic": "tea"})
print(response.json())
const response = await fetch("https://api.stupidapis.com/fake-haiku-machine/compose?topic=tea");
const data = await response.json();

Response Schema

Field Type Description
topic string Echoed back
haiku string[] Three lines
syllable_estimate number[] Estimated counts per line
meter_warning conditional string When meter is approximate
attribution string Attribution

Example Response

{
  "topic": "tea",
  "haiku": [
    "Tea steeps in patience",
    "I have known tea long,",
    "the kettle will sing"
  ],
  "syllable_estimate": [
    5,
    6,
    5
  ],
  "meter_warning": null,
  "attribution": "composed by the Fake Haiku Machine"
}

MCP Access

This API is available as an MCP tool for AI assistants. Connect your agent to:

POST https://api.stupidapis.com/fake-haiku-machine/mcp
POST https://api.stupidapis.com/mcp

Use Pipeworx to connect this MCP tool to Claude, ChatGPT, and other AI assistants with no code.

...
Clippy