Skip to content
Navigation

Reads an entry's text aloud in a curated voice, or again, landing as a draft while the published version plays on; spends Sherpo AI credits, 10 per 1,000 characters.

POST
https://api.sherpo.io/merchant/v1/stores/{store}/products/{product}/entries/{entry}/narration/generate

Authorization

  • bearer
    HTTP
    required

Path parameters

  • store
    string
    required

    The store's id.

  • product
    string
    required

    An id, or slug:<slug>.

    minLength: 1
  • entry
    string
    required
    minLength: 1

Header parameters

  • Idempotency-Key
    optional
    string

    Repeats within 24 hours answer the first result; the same key with other arguments is a conflict.

    maxLength: 255 · minLength: 1 · pattern: ^[\x21-\x7E]+$

Request body JSON required

  • voice
    talia
    or
    darian
    or
    elara
    or
    sawyer
    or
    alicia
    or
    finley
    required

    The curated voice it is read in, as listNarrationVoices lists them.

  • language
    optional

    The ISO 639-1 language it is read in; null or absent for the text's own, which the reader detects.

    One of the following:

    • string
    • null

Returns

200

Reads an entry's text aloud in a curated voice, or again, landing as a draft while the published version plays on; spends Sherpo AI credits, 10 per 1,000 characters.

JSON
  • entry_id
    string
    required
  • current
    required

    The latest run, its draft or its failure; the published version when there is none newer; null without any.

    One of the following:

    • object
    • null
  • published
    required

    The version customers hear; null while none is published.

    One of the following:

    • object
    • null
  • quote
    required

    What a generate would cost for the entry's latest saved text; null when it could not be read or speaks no body.

    One of the following:

    • object
    • null
JSON
  • type
    string
    required
    format: uri
  • title
    string
    required
  • status
    integer
    required
  • detail
    string
    required
  • code
    optional
    string
  • context
    optional
    object
  • reached_core
    optional
    boolean
  • core_answer
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close