Document: Store
API endpoint:
POST
https://app.marketix.io/api/v1/documents
Request example:
curl --location --request POST 'https://app.marketix.io/api/v1/documents' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'name={name}' \
--data-urlencode 'prompt={prompt}'
Parameter List
Parameter
Type
Description
name
required | string
The document name.
prompt
required | string
The instructions for the AI.
creativity
required | float
The creative level of the result. Possible values are: 0
for Repetitive, 0.25
for Deterministic, 0.5
for Original, 0.75
for Creative, 1
for Imaginative. Defaults to: 0.5
.
Last updated