Skip to main content
POST
/
cs
/
v1
/
content_creation
/
suggestion
Generate suggestions
curl --request POST \
  --url http://localhost:6200/cs/v1/content_creation/suggestion \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userProfile": {
    "id": "<string>",
    "gender": "WOMAN",
    "version": "2025-01-01T12:34:20Z",
    "firstName": "<string>",
    "nickname": "<string>",
    "description": "<string>",
    "birthdate": "1990-05-14",
    "countryCode": "FR",
    "city": "<string>",
    "postalCode": "<string>",
    "timeZone": "Europe/Paris",
    "features": {
      "ethnicity": "ASIAN",
      "height": 123,
      "weight": 123,
      "eyesColor": "BLACK",
      "hairColor": "BLACK",
      "hairLength": "AVERAGE",
      "maritalStatus": "SINGLE",
      "job": "<string>",
      "interests": [
        "TAILORING"
      ],
      "bdsmInterests": [
        "BDSM_BLOOD_PLAY"
      ],
      "sexualInterests": [
        "ANAL"
      ],
      "lookingFor": [
        "MAN"
      ],
      "sexualOrientation": "HETEROSEXUAL",
      "childrenCount": 123,
      "wantsChildren": "YES",
      "surgeryStatus": "UNKNOWN",
      "unitSystem": "METRIC",
      "livingWith": "ALONE"
    },
    "personality": "SUPPORTIVE",
    "mainPictureUrl": "https://example.org/images/public.jpg",
    "pictures": [
      "https://example.org/images/public.jpg"
    ],
    "privatePictures": [
      "https://example.org/images/private.jpg"
    ],
    "expiresAt": "2025-01-01T12:34:20Z",
    "children": [
      {
        "name": "<string>",
        "gender": "WOMAN",
        "age": 123
      }
    ],
    "pets": [
      {
        "name": "<string>",
        "sex": "MALE",
        "age": 123,
        "breed": "<string>",
        "type": "<string>"
      }
    ]
  },
  "personaProfile": {
    "id": "<string>",
    "gender": "WOMAN",
    "version": "2025-01-01T12:34:20Z",
    "firstName": "<string>",
    "nickname": "<string>",
    "description": "<string>",
    "birthdate": "1990-05-14",
    "countryCode": "FR",
    "city": "<string>",
    "postalCode": "<string>",
    "timeZone": "Europe/Paris",
    "features": {
      "ethnicity": "ASIAN",
      "height": 123,
      "weight": 123,
      "eyesColor": "BLACK",
      "hairColor": "BLACK",
      "hairLength": "AVERAGE",
      "maritalStatus": "SINGLE",
      "job": "<string>",
      "interests": [
        "TAILORING"
      ],
      "bdsmInterests": [
        "BDSM_BLOOD_PLAY"
      ],
      "sexualInterests": [
        "ANAL"
      ],
      "lookingFor": [
        "MAN"
      ],
      "sexualOrientation": "HETEROSEXUAL",
      "childrenCount": 123,
      "wantsChildren": "YES",
      "surgeryStatus": "UNKNOWN",
      "unitSystem": "METRIC",
      "livingWith": "ALONE"
    },
    "personality": "SUPPORTIVE",
    "mainPictureUrl": "https://example.org/images/public.jpg",
    "pictures": [
      "https://example.org/images/public.jpg"
    ],
    "privatePictures": [
      "https://example.org/images/private.jpg"
    ],
    "expiresAt": "2025-01-01T12:34:20Z",
    "children": [
      {
        "name": "<string>",
        "gender": "WOMAN",
        "age": 123
      }
    ],
    "pets": [
      {
        "name": "<string>",
        "sex": "MALE",
        "age": 123,
        "breed": "<string>",
        "type": "<string>"
      }
    ]
  },
  "language": "EN",
  "messages": [
    {
      "id": "<string>",
      "sender": "USER",
      "date": "2023-04-25T10:00:00Z",
      "pictureUrls": [
        "<string>"
      ],
      "poke": true,
      "gifts": [
        {
          "name": "<string>",
          "tier": "LOW"
        }
      ],
      "text": "<string>"
    }
  ]
}
'
{
  "suggestions": "['Lorem ipsum dolor sit amet.', 'Consectetur adipiscing elit.', 'Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.']"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is an access key.

Example: Authorization: Bearer sk-proj-XXXXXXXXX

Body

application/json
userProfile
object
required

A user profile; this will represent the profile that will receive the generated suggestions.

personaProfile
object
required

A persona profile; this will represent the profile that supposed to receive the suggestions

language
enum<string>
required

The language used to generate the suggestions.

Available options:
EN,
EN_GB,
FR,
FR_BE,
RO,
NL,
ES,
DE,
IT,
ES_LATAM,
BG,
HE,
JA,
NL_BE,
EN_AU,
PT_PT,
PT_BR,
SV_SE,
DA_DK,
FI_FI,
PL_PL,
LT_LT,
NB_NO,
NN_NO,
SL_SI,
HU,
HU_HU,
CS_CZ,
EL_GR,
HR_HR,
TR_TR,
EN_IE,
AF_ZA,
ZU_ZA,
LV_LV,
SK_SK
messages
object[]
required

A list of message describing the history of the conversation

Response

200 - */*

OK

Represents a list of suggestions generated by our platform.

suggestions
string[]
required

A array of 3 suggestions as text.

Example:

"['Lorem ipsum dolor sit amet.', 'Consectetur adipiscing elit.', 'Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.']"