Poem

Saying (Random / Daily / Scene / Moment)

0calls
1 credits / call

Need a warm line for your app, chatbot, or personal homepage? Whether it is a morning greeting, a late-night note, or a fixed daily quote for check-ins, this single endpoint covers the main saying use cases.

Overview

This is the unified corpus saying endpoint. Use the mode parameter to switch between multiple copywriting scenarios, and optionally filter by source, category, or tag.

Four modes (mode)

  • Random (random or omitted): returns a fresh random saying from the selected pool.
  • Daily (daily): returns the same saying for the same day within the selected pool. Useful for daily check-ins, morning pushes, or sign-in backgrounds.
  • Scene recommendation (recommend): use scene to get a saying for a specific scene, such as morning or night.
  • Moment (moment): automatically detects the server-side time segment and recommends a saying that fits the current moment.

Notes

  • Filters: source, category, and tag accept multiple values separated by commas , or semicolons ;.
  • Scene binding: scene is required only when mode=recommend; it is ignored by other modes.
  • Recommended requests:
    • Random: GET /api/v1/saying/random
    • Daily: GET /api/v1/saying/random?mode=daily
    • Scene: GET /api/v1/saying/random?mode=recommend&scene=night
    • Moment: GET /api/v1/saying/random?mode=moment

Query parameters

mode
stringoptional

Runtime mode. Omit it or pass random for a random saying; available values are daily, recommend, and moment.

scene
stringoptional
Recommendation scene. Required when mode=recommend, for example night, morning, or work. Choose from the .
source
stringoptional
Corpus source filter. Supports repeated query parameters, comma-separated values, or semicolon-separated values. Choose from the .
category
stringoptional
Category filter. Supports repeated query parameters, comma-separated values, or semicolon-separated values. Choose from the .
tag
stringoptional
Tag filter. Supports repeated query parameters, comma-separated values, or semicolon-separated values. Choose from the .

Response

200 / OK

Request succeeded. The response shape depends on the selected mode.

Format 1Random mode
JSON
Format 2Daily mode
JSON
Format 3Recommendation mode
JSON
Format 4Moment mode
JSON

400 / Bad Request

Invalid parameter. Common causes include an unsupported scene or invalid filter value.

JSON

404 / Not Found

No saying matched the current filter combination.

JSON