Magic

Generate text (description, records, abilities and more) based on input.

post/magic/{promptId}/generate

Request

  • Base URL: https://api.chatbotkit.com/api/v1
  • URL: https://api.chatbotkit.com/api/v1/magic/{promptId}/generate
  • Auth: HTTP bearer

Path parameters

promptIdstring required

The ID of the prompt to use for generation

Request body

textstring required

The text to use as input

propsobject

Additional properties to pass to the prompt

modelstring

Optional language model to use for generation

Response

The magic prompt completed successfully

textstring required

The input text

Changes