API docsAPI reference

Prompt details

Replace <prompt_id> with an id from the list. Returns a prompt object directly with object: "prompt" and the same fields as one data item, without a data wrapper. Only publicly visible records for the requested locale are returned.

GET/api/v1/prompts/{id}Public · No API key

Request

cURL
curl 'https://01router.com/api/v1/prompts/prompt_example?locale=en'

Input parameters

Query / path parameters
id
string · pathRequired

Replace <prompt_id> with an id from the list. Returns a prompt object directly with object: "prompt" and the same fields as one data item, without a data wrapper. Only publicly visible records for the requested locale are returned.

locale
stringOptional

Optional: en or zh; defaults to en. Includes matching-language and language-neutral records. Also supported by the detail endpoint.

Default:"en"
Allowed values:"en""zh"

Response example

200 · application/json
{
  "object": "prompt",
  "id": "prompt_example",
  "title": "Cinematic landscape",
  "prompt": "A cinematic landscape at sunrise.",
  "category": "Cinematic Story",
  "source": "evolink.ai",
  "mediaType": "video",
  "mediaUrl": "https://example.com/video.mp4",
  "modelSlug": "seedance-2.5",
  "modelName": "Seedance 2.5"
}

Responses are illustrative. IDs, usage, prices and results depend on the actual request.

Response fields

object
"prompt"

prompt

prompt
string

Published prompt objects: id, title, prompt, category, source, mediaType, mediaUrl, modelSlug and modelName.

modelSlug
string

Model slug from the catalog. Project keys may use a project-specific model slug.

Usage notes

  • Invalid parameters return 400. Missing, disabled or locale-unavailable model categories and prompts return 404. Valid categories with no matching results return 200 and empty data. Requests to the same path are limited by IP to intervals of at least 200 ms; 429 includes Retry-After. Successful responses are cacheable for 60 seconds.

Use with AI

Give your coding assistant the documentation index or the full API reference, including live model parameters.