Get memory scratchpad
Retrieve the memory scratchpad for the current user's companion chat.
query Parameters
companion_idtypeconversation_idmax_wordsIf provided, condense the scratchpad to fit within this word budget.
If provided, condense the scratchpad to fit within this word budget.
hintGuidance for what to prioritize when condensing.
Guidance for what to prioritize when condensing.
Get memory scratchpad › Responses
Scratchpad content
idcontentversiontypeupdated_atUpdate memory scratchpad
Directly update the scratchpad content. Allows users to fix incorrect memories.
query Parameters
companion_idtypeconversation_idUpdate memory scratchpad › Responses
Updated scratchpad
idcontentversiontypeupdated_atList published skins
Returns a paginated list of published and enabled skins.
query Parameters
limitcursorCursor for pagination (base64 encoded created_at + id)
Cursor for pagination (base64 encoded created_at + id)
genderstyleList published skins › Responses
List of published skins
Get published skin details
Returns details for a single published skin by ID.
path Parameters
idGet published skin details › Responses
Skin details
idnamegenderstylecover_photo_urlList user media collection
Returns a paginated list of media in the user's collection with optional filters for type and favorites.
query Parameters
limitcursorCursor for pagination (base64 encoded created_at + id)
Cursor for pagination (base64 encoded created_at + id)
typeFilter by media type
Filter by media type
favoriteFilter to only favorite items
Filter to only favorite items
relationTypeHow the user is related to this media
How the user is related to this media
List user media collection › Responses
Collection list retrieved successfully
Add media to collection
Adds a media item to the user's collection. The media must exist and be accessible to the user's tenant.
Add media to collection › Request Body
mediaIdID of the media to add to collection
relationTypeHow the user is related to this media
Add media to collection › Responses
Media added to collection successfully
idmediaIdmediaTypeimage | video | other
cdnUrlrelationTypeHow the user is related to this media
isFavoritecreatedAtUpdate collection item
Update the favorite status or metadata for a collection item.
path Parameters
idUpdate collection item › Responses
Collection item updated successfully
idmediaIdmediaTypeimage | video | other
cdnUrlrelationTypeHow the user is related to this media
isFavoritecreatedAtGenerate image from skin + category
Generate an image for a character using a pre-defined category.
Generate image from skin + category › Request Body
skin_idcategoryPre-defined category for prompt generation
seeduser_idUser ID who triggered the generation (for user_media record)
activity_instance_idActivity instance (chat session) ID for message delivery callback and instance-specific context (persona, recent messages)
activity_idActivity ID for fetching activity-level context (image gen fields, scenario, personality). Used by studio admin or alongside activity_instance_id.
generation_modeWhen set, uses LLM to generate the prompt from chat context instead of requiring positive_prompt
nsfw_levelContent explicitness level for LLM prompt generation
Generate image from skin + category › Responses
Generation queued successfully
job_idgeneration_idGenerate video from skin + category
Generate a video for a character using a pre-defined category.
Generate video from skin + category › Request Body
skin_idcategoryPre-defined category for prompt generation
first_frame_sourceWhether to generate first frame or use skin reference image
reference_image_typeWhich skin reference image to use
seeduser_idUser ID who triggered the generation (for user_media record)
activity_instance_idActivity instance (chat session) ID for message delivery callback and instance-specific context (persona, recent messages)
activity_idActivity ID for fetching activity-level context (image gen fields, scenario, personality). Used by studio admin or alongside activity_instance_id.
generation_modeWhen set, uses LLM to generate the prompt from chat context instead of requiring positive_prompt
nsfw_levelContent explicitness level for LLM prompt generation
Generate video from skin + category › Responses
Generation queued successfully
job_idgeneration_idList published skins
Returns a paginated list of published and enabled skins for the tenant.
query Parameters
limitcursorCursor for pagination (base64 encoded created_at + id)
Cursor for pagination (base64 encoded created_at + id)
genderstyleHeaders
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
List published skins › Responses
List of published skins
List published activities
Returns a paginated list of published activities for the catalog. Only activities with published=true are returned.
query Parameters
limitcursorCursor for pagination (base64 encoded created_at + id)
Cursor for pagination (base64 encoded created_at + id)
categoryfeaturedis_companionList published activities › Responses
List of published activities
Get activity details
Returns details for a single published activity. Returns 404 if the activity does not exist or is not published.
path Parameters
idGet activity details › Responses
Activity details
idtitledescriptionshort_descriptionscenarioexample_dialoguelisting_image_urlsecondary_image_urlscategorysubcategoryfeaturedis_companionanime_cover_image_urlrealistic_cover_image_urlnsfw_anime_cover_image_urlnsfw_realistic_cover_image_urlanime_cover_video_urlrealistic_cover_video_urlnsfw_anime_cover_video_urlnsfw_realistic_cover_video_urlanime_cover_image_urlsrealistic_cover_image_urlsanime_cover_video_urlsrealistic_cover_video_urlsdefault_cover_image_promptanime_cover_image_promptrealistic_cover_image_promptnsfw_anime_cover_image_urlsnsfw_realistic_cover_image_urlsnsfw_anime_cover_video_urlsnsfw_realistic_cover_video_urlsnsfw_default_cover_image_promptnsfw_anime_cover_image_promptnsfw_realistic_cover_image_promptpersonalityfirst_messagesystem_promptpost_history_instructionsalternate_greetingscreator_notescreatorcharacter_versiontagsimage_gen_character_short_textimage_gen_character_clothed_textimage_gen_character_naked_textdefault_outfit_textdefault_footwear_textllm_image_prompt_generation_help_textvideo_character_promptnsfw_video_character_promptanime_skin_idrealistic_skin_idList user's activity instances
Returns a paginated list of activity instances belonging to the authenticated user.
query Parameters
limitcursorCursor for pagination (base64 encoded created_at + id)
Cursor for pagination (base64 encoded created_at + id)
statusactivity_idList user's activity instances › Responses
List of user's activity instances
Create activity instance
Creates a new activity instance from a published activity. Snapshots the activity data at creation time.
Create activity instance › Request Body
activity_idassigned_voice_idCreate activity instance › Responses
Instance created successfully
idsnapshot_titlesnapshot_descriptionsnapshot_short_descriptionsnapshot_scenariosnapshot_example_dialoguesnapshot_listing_image_urlsnapshot_secondary_image_urlssnapshot_categorysnapshot_subcategorysnapshot_personalitysnapshot_first_messagesnapshot_system_promptsnapshot_post_history_instructionssnapshot_alternate_greetingssnapshot_lorebook_idsassigned_voice_idstatuslast_accessed_atcreated_atGet activity instance details
Returns details for a single activity instance. Only accessible by the instance owner. Updates the last_accessed_at timestamp.
path Parameters
idGet activity instance details › Responses
Activity instance details
idsnapshot_titlesnapshot_descriptionsnapshot_short_descriptionsnapshot_scenariosnapshot_example_dialoguesnapshot_listing_image_urlsnapshot_secondary_image_urlssnapshot_categorysnapshot_subcategorysnapshot_personalitysnapshot_first_messagesnapshot_system_promptsnapshot_post_history_instructionssnapshot_alternate_greetingssnapshot_lorebook_idsassigned_voice_idstatuslast_accessed_atcreated_atUpdate activity instance
Updates an activity instance. Can change assigned voice or archive the instance.
path Parameters
idUpdate activity instance › Request Body
assigned_voice_idstatusUpdate activity instance › Responses
Instance updated successfully
idsnapshot_titlesnapshot_descriptionsnapshot_short_descriptionsnapshot_scenariosnapshot_example_dialoguesnapshot_listing_image_urlsnapshot_secondary_image_urlssnapshot_categorysnapshot_subcategorysnapshot_personalitysnapshot_first_messagesnapshot_system_promptsnapshot_post_history_instructionssnapshot_alternate_greetingssnapshot_lorebook_idsassigned_voice_idstatuslast_accessed_atcreated_atList messages in instance
Returns a paginated list of messages in an activity instance owned by the authenticated user.
path Parameters
instanceIdquery Parameters
limitcursorCursor for pagination (base64 encoded created_at + id)
Cursor for pagination (base64 encoded created_at + id)
rolemediumList messages in instance › Responses
List of messages
Create message
Creates a new message in an activity instance. Updates the instance's last_accessed_at timestamp. Cannot add messages to archived instances.
path Parameters
instanceIdCreate message › Request Body
rolemediumcontentCreate message › Responses
Message created successfully
idrolemediumcontentcreated_atGet message details
Returns details for a single message in an activity instance owned by the authenticated user.
path Parameters
instanceIdmessageIdGet message details › Responses
Message details
idrolemediumcontentcreated_atUpdate message
Updates a message's content in an activity instance owned by the authenticated user.
path Parameters
instanceIdmessageIdUpdate message › Responses
Message updated successfully
idrolemediumcontentcreated_atStream chat response
Sends a user message and streams the AI response as plain text.
The response is a streaming text body where each chunk is a piece of the assistant's response. When the stream closes, the assistant message has been saved to the database.
Example:
Code
path Parameters
instanceIdStream chat response › Request Body
contentThe message content to send
mediumThe medium through which the message was sent
skin_idSkin ID for play mode XP scoping. When provided, XP is awarded scoped to this skin.
Stream chat response › Responses
Streaming text response from the AI
Streaming text response
Create persona
Creates a new persona for the authenticated user.
Create persona › Request Body
namegenderGender for pronoun substitution in templates
descriptionstyle_preferenceUser's preferred image style for character displays
is_defaultCreate persona › Responses
Persona created
idnamegenderGender for pronoun substitution in templates
descriptionstyle_preferenceUser's preferred image style for character displays
is_defaultcreated_atupdated_atGet persona
Returns a single persona by ID.
path Parameters
idGet persona › Responses
Persona details
idnamegenderGender for pronoun substitution in templates
descriptionstyle_preferenceUser's preferred image style for character displays
is_defaultcreated_atupdated_atUpdate persona
Updates an existing persona.
path Parameters
idUpdate persona › Request Body
namegenderGender for pronoun substitution in templates
descriptionstyle_preferenceUser's preferred image style for character displays
Update persona › Responses
Persona updated
idnamegenderGender for pronoun substitution in templates
descriptionstyle_preferenceUser's preferred image style for character displays
is_defaultcreated_atupdated_atSet default persona
Sets a persona as the user's default.
path Parameters
idSet default persona › Responses
Persona set as default
idnamegenderGender for pronoun substitution in templates
descriptionstyle_preferenceUser's preferred image style for character displays
is_defaultcreated_atupdated_at
