CharGen
com.char-gen/chargen
Serveur MCP OK 226 outils
Remote MCP server for D&D: read and update your CharGen campaigns, generate NPCs and art.
Fiche technique
- Auteur
- char-gen.com (espace de noms du registre)
- Dépôt
- —
- Site
- char-gen.com/mcp
- Version
- 1.1.0
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://api.char-gen.com/mcp Streamable HTTP
- Outils
- 226
- Catégories
- —
- Dernière mise à jour
- 19 nov. 2026
- Publication
- 19 nov. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/com.char-gen/chargen)<a href="https://latlas.dev/mcp/com.char-gen/chargen"><img src="https://latlas.dev/badge/statut/mcp/com.char-gen/chargen.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/com.char-gen/chargen)<a href="https://latlas.dev/mcp/com.char-gen/chargen"><img src="https://latlas.dev/badge/fiche/com.char-gen/chargen.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://api.char-gen.com/mcp
- Dernier résultat
- OK 28 nov. 2026, 11:30
- Temps de réponse
- 395 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- chargen-mcp 0.1.0
- Outils
- 226
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 11:30 | OK | 395 ms | 226 |
Outils exposés (226, réponse à tools/list, 28 nov. 2026)
chargen_add_collection_item
File item in folder
File an item into a folder. target_id is the thing being filed (a generation id by default; set item_type for CAMPAIGN_ENTITY, DOCUMENT, SESSION, IMAGE or VIDEO_PROJECT). When filing CAMPAIGN_ENTITY, DOCUMENT, SESSION or VIDEO_PROJECT into a codex folder that a campaign references, campaign_id is REQUIRED - the item lands in that campaign's overlay, not the codex itself. IMAGE items can only be filed into campaign workspace folders and Atlas places (folders with place=true), never other codex folders, and only your own pictures: another member's picture, public or not, is not_found. Filing the same target twice updates the existing row: an omitted note clears it, an omitted pinned value unpins it, and an omitted sort_order keeps the current position.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| collection_id | string | oui | Folder UUID |
| target_id | string | oui | UUID of the item to file (generation, campaign entity, document, session, image or completed film) |
| item_type | enum: "GENERATION_ENTITY" | "CAMPAIGN_ENTITY" | "DOCUMENT" | "SESSION" | "IMAGE" | "VIDEO_PROJECT" | "CHARACTER_REFERENCE" | non | Type of target_id (default GENERATION_ENTITY) |
| campaign_id | string | non | Required when filing CAMPAIGN_ENTITY/DOCUMENT/SESSION/VIDEO_PROJECT into a codex folder the campaign references (routes into that campaign's overlay) |
| note | string | non | Optional note on the filed item |
| pinned | boolean | non | Pin the item to the top of the folder |
| sort_order | integer | non | Optional sort position within the folder (lower sorts first) |
chargen_apply_find_replace
Replace session text
Replace text in one owned session. First inspect chargen_preview_find_replace and obtain user approval; confirm must be true. Optional merge_id records the rename with chargen_merge_entities so undoing that merge also reverses the rename.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| session_id | string | oui | Session UUID (required for apply) |
| find | string | oui | Text to find |
| replace | string | non | Replacement text (apply only) |
| confirm | boolean | oui | Must be true to apply |
| merge_id | string | non | Optional merge UUID from chargen_merge_entities - links this rename to the merge so undoing the merge also reverses it |
chargen_attach_image
Attach image to campaign entity
Attach one of the user's existing gallery images to a tracked world-graph entity in a campaign, so it shows on that entity. image_id comes from chargen_search_gallery or chargen_get_generation. Re-attaching the same image updates only its title and caption (omitting them clears them); its position on the entity is kept. Free.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| entity_id | string | oui | UUID of a tracked world-graph entity in that campaign (chargen_list_entities) |
| image_id | string | oui | UUID of one of the user's own gallery images (not a video or audio item) |
| title | string | non | Optional title shown with the image on the entity |
| caption | string | non | Optional caption shown with the image on the entity |
chargen_create_collection
Create folder
Create a folder in the World Codex (omit campaign_id) or a campaign workspace (campaign_id set). Free accounts can keep up to 3 folders in total across the World Codex and campaign workspaces; paid plans have no folder limit.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | Folder name |
| description | string | non | Optional description |
| parent_collection_id | string | non | Optional parent folder UUID (nest inside it) |
| campaign_id | string | non | Campaign UUID for a workspace folder; omit for the World Codex |
| display_order | integer | non | Optional sort position among siblings (lower sorts first) |
chargen_create_hook
Create plot hook
Add a plot hook to a campaign with a title and optional description.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| title | string | oui | Hook title |
| description | string | non | Optional description |
chargen_create_quest
Create quest
Create a quest in a campaign's quest tracker with a title and optional category, status, quest giver, objectives, conditions, rewards and next actions.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| title | string | oui | Quest title |
| category | enum: "MAIN" | "SIDE" | non | Quest category (default SIDE) |
| status | enum: "ACTIVE" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "ABANDONED" | non | Quest status (default ACTIVE) |
| quest_giver_name | string | non | Who gives the quest |
| objectives | array<string> | non | Objective texts, in order |
| success_conditions | array<string> | non | What counts as success |
| failure_conditions | array<string> | non | What counts as failure |
| rewards | string | non | Rewards |
| next_actions | string | non | What the party should do next |
chargen_create_session_log
Create a session log
Create a session from a DM-approved prose summary (200 to 20000 characters), free at Standard quality on any paid plan. Obtain approval of the summary, then set confirm=true. Processing creates a recap, entities, timeline, hooks and quest updates in the background, with no transcript or speaker features.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| summary | string | oui | DM-approved prose summary of the session, 200 to 20000 characters. Name the NPCs, places and items that mattered. |
| session_number | integer | non | Session number to backfill. Omit to append after the latest session. |
| name | string | non | Session title |
| recorded_at | string | non | When the session was played, ISO date (YYYY-MM-DD). Omit for now. |
| notes | string | non | DM prep notes (extraction context, not part of the summary) |
| confirm | boolean | oui | Must be true to apply |
chargen_dedupe_candidates
Merge duplicate candidates
Auto-merge duplicate CANDIDATE entities in a campaign that share the same normalized name and type, keeping the best-evidenced one. Never touches TRACKED or pinned entities - merge those explicitly with chargen_merge_entities. It also returns merge_suggestions: an NPC record and a Monster record with the same name (often one villain who was talked to in one session and fought in the next). These are NOT merged. To merge one, ask the DM which record to keep and call chargen_merge_entities with that record as target_entity_id; the target keeps its type and the merge can be undone. This connector cannot dismiss a suggestion: the DM keeps the two records separate on the web Review page, and until then the pair is listed again.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
chargen_delete_collection
Delete folder
Delete a folder (and its subfolders/filed rows). Only ORGANISATION is deleted - the generations, entities, sessions and images filed inside are never touched. To unlink a codex folder from a campaign workspace without deleting it, pass the grafted root's ref_row_id; deleting the codex original also removes every campaign reference to it. An Atlas place (place=true) is different: its sub-places, folders and filed things move up to its parent place, and a place a campaign links to directly cannot be deleted until that link is removed.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| collection_id | string | oui | Collection UUID (a folder id or a grafted root's ref_row_id) |
chargen_delete_recap_entry
Delete recap entry
Remove one NPC, monster, location, spell or action from an owned session recap. Get entry ids from chargen_get_session_recap. Items and factions cannot be deleted. To correct fields instead use chargen_edit_recap_entry.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| entry_type | enum: "npc" | "monster" | "location" | "spell" | "action" | oui | Kind of recap entry to remove |
| entry_id | string | oui | Entry UUID from chargen_get_session_recap |
chargen_edit_3d_animate
Animate 3D model
Start a job to rig and animate one of the user's 3D models with Tripo Animate (the rig is included): 1 to 5 moves, one named clip each in one file. Price by the number of moves: 1 move 50 Gold, 2 moves 65, 3 moves 75, 4 moves 90, 5 moves 105. First call chargen_quote_3d_animate, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job, which gives the model file (media_url, model_format) when it is done. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model_id | string | oui | A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id. |
| moves | array<enum: "idle" | "walk" | "run" | "dive" | "climb" | "jump" | "slash" | "shoot" …> | non | 1 to 5 moves, one clip each (default walk). Each move adds to the price. |
| rig_type | enum: "auto" | "biped" | "quadruped" | "hexapod" | "octopod" | "avian" | "serpentine" | "aquatic" … | non | Body type of the skeleton (default auto). |
| bone_names | enum: "tripo" | "mixamo" | "actorcore" | "unity" | "unreal" | "vrm" | non | Bone naming standard, for the engine the model goes to (default tripo). |
| file_format | enum: "glb" | "fbx" | non | File type of the result (default glb). Tripo can return FBX even when glb is asked for. |
| in_place | boolean | non | Keep the model in place instead of moving forward (default false). |
| quote_token | string | oui | Approved quote_token from chargen_quote_3d_animate. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_3d_cleanup
Clean up 3D model
Start a job to clean up one of the user's 3D models with Tripo Retopology: fewer, tidier faces, with an optional face target, quads, and UVs in the same pass (uv_in_same_pass). Price by version: v3.0 50 Gold (default), 55 Gold with quads, v2.0 45 Gold, v1.0 15 Gold. First call chargen_quote_3d_cleanup, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job, which gives the model file (media_url, model_format) when it is done. The result is an FBX file, so a later split by name (GLB only) cannot use it. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model_id | string | oui | A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id. |
| version | enum: "v3.0" | "v2.0" | "v1.0" | non | Tripo Retopology version (default v3.0). |
| quads | boolean | non | Quad faces instead of triangles (default false). Costs 5 Gold more on v3.0. |
| face_limit | integer | non | Target number of faces, from 100 to 200000. |
| uv_in_same_pass | boolean | non | Also unwrap UVs in the same pass (version v3.0 only). Free. |
| keep_textures | boolean | non | Keep the textures on the result (default true). Free. |
| quote_token | string | oui | Approved quote_token from chargen_quote_3d_cleanup. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_3d_rig
Rig 3D model
Start a job to add a skeleton to one of the user's 3D models with Tripo Rig. Price: 35 Gold. First call chargen_quote_3d_rig, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job, which gives the model file (media_url, model_format) when it is done. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model_id | string | oui | A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id. |
| rig_type | enum: "auto" | "biped" | "quadruped" | "hexapod" | "octopod" | "avian" | "serpentine" | "aquatic" … | non | Body type of the skeleton (default auto). |
| bone_names | enum: "tripo" | "mixamo" | "actorcore" | "unity" | "unreal" | "vrm" | non | Bone naming standard, for the engine the model goes to (default tripo). |
| file_format | enum: "glb" | "fbx" | non | File type of the result (default glb). Tripo can return FBX even when glb is asked for. |
| quote_token | string | oui | Approved quote_token from chargen_quote_3d_rig. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_3d_split
Split 3D model
Start a job to split one of the user's 3D models into parts or fill its hidden surfaces: method shape (Tripo Segment), name (Tripo Smart Segment, GLB models only, optional hint), fill (Tripo Mesh Complete fills hidden surfaces) or seal (Tripo Mesh Complete closes the holes quickly). Parts have generic names. Price by method: shape 55 Gold, name 75 Gold, fill 125 Gold, seal 95 Gold. First call chargen_quote_3d_split, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job, which gives the model file (media_url, model_format) when it is done. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model_id | string | oui | A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id. |
| method | enum: "shape" | "name" | "fill" | "seal" | oui | shape: split by shape (Tripo Segment). name: split into named kinds of part (Tripo Smart Segment, GLB models only). fill: fill hidden surfaces (Tripo Mesh Complete). seal: close the holes quickly (Tripo Mesh Complete quick cap). |
| segment_version | enum: "v1.0" | "v2.0" | non | shape, fill and seal: the segmentation version (default v1.0). |
| granularity | enum: "balanced" | "simple" | "detailed" | non | shape with segment_version v2.0 only: how finely to split (default balanced). |
| split_by_connectivity | boolean | non | shape with segment_version v2.0 only: also split pieces that do not touch. |
| part_granularity | enum: "medium" | "coarse" | "fine" | non | name only: how finely to split (default medium). |
| hint | string | non | name only: optional guidance for the parts, for example "sword, shield, helmet". |
| quote_token | string | oui | Approved quote_token from chargen_quote_3d_split. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_3d_uv
Unwrap 3D model UVs
Start a job to unwrap the UVs of one of the user's 3D models with Tripo Smart UV. Tripo Smart UV refuses a model with more than 80,000 triangles, so clean up a raw generated model first (chargen_edit_3d_cleanup can unwrap UVs in the same pass). Price: 30 Gold. First call chargen_quote_3d_uv, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job, which gives the model file (media_url, model_format) when it is done. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model_id | string | oui | A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id. |
| keep_textures | boolean | non | Keep the textures on the result (default true). Free. |
| quote_token | string | oui | Approved quote_token from chargen_quote_3d_uv. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_image_change_subject
Start change subject
Start a job to transform an owned image's subject. First call chargen_quote_image_change_subject, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| instruction | string | oui | Describe only the change to make, and what to keep the same. |
| quote_token | string | oui | Approved quote_token from chargen_quote_image_change_subject. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_image_colorize
Start colorize
Start a job to colorize an owned image. First call chargen_quote_image_colorize, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| quality | enum: "low" | "medium" | "high" | non | Quality, where supported; higher quality can cost more. |
| quote_token | string | oui | Approved quote_token from chargen_quote_image_colorize. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_image_deblur
Start deblur
Start a job to reduce blur in an owned image. First call chargen_quote_image_deblur, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| quote_token | string | oui | Approved quote_token from chargen_quote_image_deblur. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_image_denoise
Start denoise
Start a job to remove noise from an owned image. First call chargen_quote_image_denoise, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| quote_token | string | oui | Approved quote_token from chargen_quote_image_denoise. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_image_detail_fix
Start detail fix
Start a job to repair details in an owned image. First call chargen_quote_image_detail_fix, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| model | string | non | Optional model for this edit; omitted uses the default. |
| quote_token | string | oui | Approved quote_token from chargen_quote_image_detail_fix. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_image_face_restore
Start face restore
Start a job to restore faces in an owned image. First call chargen_quote_image_face_restore, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| quote_token | string | oui | Approved quote_token from chargen_quote_image_face_restore. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_image_prompt_edit
Start prompt edit
Start a job to edit an owned image using a text instruction. First call chargen_quote_image_prompt_edit, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| instruction | string | oui | Describe only the change to make, and what to keep the same. |
| model | string | non | Optional model for this edit; omitted uses the default. |
| quality | enum: "low" | "medium" | "high" | non | Quality, where supported; higher quality can cost more. |
| quote_token | string | oui | Approved quote_token from chargen_quote_image_prompt_edit. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_image_remove_background
Start remove background
Start a job to remove an owned image's background. First call chargen_quote_image_remove_background, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| model | string | non | Optional model for this edit; omitted uses the default. |
| quote_token | string | oui | Approved quote_token from chargen_quote_image_remove_background. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_image_replace_background
Start replace background
Start a job to replace an owned image's background. First call chargen_quote_image_replace_background, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| instruction | string | oui | Describe only the change to make, and what to keep the same. |
| model | string | non | Optional model for this edit; omitted uses the default. |
| quality | enum: "low" | "medium" | "high" | non | Quality, where supported; higher quality can cost more. |
| quote_token | string | oui | Approved quote_token from chargen_quote_image_replace_background. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_image_restore
Start restore
Start a job to restore an owned photograph. First call chargen_quote_image_restore, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| quality | enum: "low" | "medium" | "high" | non | Quality, where supported; higher quality can cost more. |
| quote_token | string | oui | Approved quote_token from chargen_quote_image_restore. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_image_sharpen
Start sharpen
Start a job to sharpen an owned image. First call chargen_quote_image_sharpen, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| quote_token | string | oui | Approved quote_token from chargen_quote_image_sharpen. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_image_upscale
Start upscale
Start a job to upscale an owned image. First call chargen_quote_image_upscale, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| model | string | non | Optional model for this edit; omitted uses the default. Clarity Upscaler, Recraft Creative or Recraft Clarity. |
| upscale_factor | enum: "1.5" | "2" | "3" | "4" | non | Clarity Upscaler scale factor; default 2. |
| creativity | number | non | Clarity Upscaler creativity from 0 to 1. |
| quote_token | string | oui | Approved quote_token from chargen_quote_image_upscale. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_edit_recap_entry
Edit session recap entry
Correct one NPC, monster, location, spell, item, faction or action in an owned session recap. Get entry ids from chargen_get_session_recap. Omitted or null fields preserve values. For actions, summary edits the prose and interaction_links replaces the complete list; [] clears interactions. Actor identity is read-only. To remove an entry use chargen_delete_recap_entry. For transcript renames use chargen_preview_find_replace.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| entry_type | enum: "npc" | "monster" | "location" | "spell" | "item" | "faction" | "action" | oui | Kind of recap entry |
| entry_id | string | oui | Entry UUID from chargen_get_session_recap |
| name | string | null | non | New name for the entry |
| description | string | null | non | New description |
| role | string | null | non | New role (npc / monster only) |
| location_type | string | null | non | New location type (location only) |
| category | enum: "weapon" | "armor" | "wondrous" | "artifact" | "consumable" | "key" | "treasure" | "unknown" … | non | New category (item only) |
| alignment | enum: "ally" | "enemy" | "neutral" | "rival" | "unknown" | null | non | New alignment (faction only) |
| summary | string | null | non | Action summary only; empty clears, omitted/null preserves |
| interaction_links | array | null | non | Action only: complete desired interaction list; [] clears, omitted/null preserves |
chargen_generate_3d_model
Create 3D model
Start a job to make a 3D model from one of the user's own pictures (image_id) or from a description (prompt), with Meshy6, Meshy V7, Meshy V7.1, Rodin v2.5, Trellis 2, Tripo P2, Tripo Parts. Tripo Parts makes a model in separate parts from a picture. Prices depend on the model and its options: Tripo Parts 115 Gold, Tripo P2 115 to 150 Gold; chargen_list_media_models with kind model_3d lists every model's price and options. First call chargen_quote_3d_model, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job, which gives the model file (media_url, model_format) when it is done. Improve the result with the 3D tools, for example chargen_quote_3d_cleanup. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | enum: "Meshy6" | "Meshy V7" | "Meshy V7.1" | "Rodin v2.5" | "Trellis 2" | "Tripo P2" | "Tripo Parts" | oui | The 3D model to create with. |
| image_id | string | non | One of the user's own still pictures (from chargen_search_gallery) to make the model from. Give image_id or prompt, not both. Required for Meshy V7, Trellis 2 and Tripo Parts. |
| prompt | string | non | A description of the model, for a model that makes models from text. Leave it out when image_id is given. |
| hint | string | non | Tripo Parts only: optional guidance for how to split the parts. |
| options | object | non | Optional model settings by their exact key, for example {"Texture Quality": "detailed"} for Tripo P2. chargen_list_media_models with kind model_3d lists each model's keys and values; any other key is refused. |
| quote_token | string | oui | Approved quote_token from chargen_quote_3d_model. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_generate_background_audio
Start background audio
Start a job to create sound effects or an ambient audio bed. First call chargen_quote_background_audio, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled audio model supporting background-audio; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | oui | The sounds to hear. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model. |
| negative_prompt | string | non | Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument. |
| duration_seconds | integer | non | Audio duration in seconds, where supported. |
| quote_token | string | oui | Approved quote_token from chargen_quote_background_audio. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_generate_building
Generate building
Generate a D&D building using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| buildingType | string | non | text |
| gameMode | string | non | text |
| partyLevel | integer | non | integer 1-20 |
| condition | string | non | text |
| size | string | non | text |
chargen_generate_character
Generate character
Generate a D&D character using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| gameSystem | string | non | text |
| species | string | non | text |
| className | string | non | text |
| subclass | string | non | text |
| level | integer | non | integer 1-20 |
| background | string | non | text |
| abilityScoreMethod | string | non | text |
| name | string | non | text |
| gender | string | non | text |
| alignment | string | non | text |
| personalityPrompt | string | non | text |
| classEntityId | string | non | UUID of one of your homebrew CharacterClass generations to base this class on (optional) |
| speciesEntityId | string | non | UUID of one of your Species generations to use as this character's species (optional, D&D only; send species blank or as its name) |
| speciesLineage | string | non | Name of one subspecies of that Species, up to 80 characters (optional) |
chargen_generate_character_sprites
Order character sprites
Order animated pixel sprites of a character from one of the user's own still pictures (source_image_id from chargen_search_gallery). An order can have up to 10 portrait moves (preset or in the user's own words), the walk in 4 facings (walk_4_facings) or in 8 directions (walk_8_directions), and game moves in the facings the user picks (game_moves, at most 24 facings). It needs at least one move. Price: 10 Gold for each portrait or typed move, 48 Gold for the walk in 4 facings (12 for each facing), 80 Gold for the walk in 8 directions (10 for each facing), and 25 Gold for each facing of a game move. All moves of one picture and style are drawn from one base sprite, so they match. While the first order for a picture and style still draws that base, a new order for it fails and charges nothing; order again when the first is done. These are animated moves; for one still sprite sheet image, use chargen_run_recipe_rpg_sprite_sheet. First call chargen_quote_character_sprites, confirm the price with the user, then supply its quote_token with identical inputs. Returns request_id; poll chargen_get_job for each move's animated GIF. A move that fails is refunded. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source_image_id | string | oui | UUID of one of the user's own still pictures, from chargen_search_gallery. The character is drawn from it. |
| style | enum: "FINE" | "CHUNKY" | non | FINE (the default) draws more detail and adds HD files. CHUNKY draws bigger, simpler pixels. Each style of a picture has its own base sprite. |
| actions | array<enum: "IDLE" | "HELLO" | "ATTACK" | "CAST" | "VICTORY" | "LAUGH" | "DEFEAT" | "ANGRY"> | non | Preset portrait moves, each one at most once, 10 Gold each. actions and custom_actions together hold at most 10 moves. An order needs at least one move from actions, custom_actions, walk_4_facings, walk_8_directions or game_moves. |
| custom_actions | array<string> | non | Moves in the user's own words, for example "raises a glass in a toast". |
| details | array<string> | non | Optional details the picture does not show, for example "a captain's rapier". |
| walk_8_directions | boolean | non | true adds a looping walk in all 8 facings, 80 Gold (10 for each facing). A facing that fails is refunded 10. Give walk_4_facings or walk_8_directions, not both. |
| walk_4_facings | boolean | non | true adds a looping walk in 4 facings, S, E, N and W: 48 Gold (12 for each facing), cut from the same video as the walk in 8 directions. A facing that fails is refunded 12. Give walk_4_facings or walk_8_directions, not both. |
| game_moves | array<object> | non | Game moves, each move at most once, 25 Gold for each facing. At most 24 facings in all. A facing that fails is refunded 25. For a walk, walk_4_facings costs less than the walk game move in the same 4 facings. |
| title | string | non | Optional name for these sprites in the user's library. |
| quote_token | string | oui | Approved quote_token from chargen_quote_character_sprites. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_generate_characterclass
Generate character class
Generate a D&D character class using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| gameSystem | string | non | Game system, e.g. 'D&D 5E (2024)', 'Pathfinder 2E' |
| classType | enum: "FULL_CLASS" | "SUBCLASS" | non | FULL_CLASS (default) or SUBCLASS |
| className | string | non | Optional name to build around |
| baseClass | string | non | Base class name when classType=SUBCLASS |
| role | string | non | Playstyle: Martial, Full Caster, Support, ... |
| balanceTarget | string | non | Standard, Gritty low-power, or Cinematic high-power |
| additionalDetails | string | non | Extra constraints or flavor |
| parentClassEntityId | string | non | Optional UUID of your own homebrew parent class (subclass mode) |
chargen_generate_dungeon
Generate dungeon
Generate a D&D dungeon using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| name | string | non | text |
| dungeonSize | string | non | text |
| theme | string | non | text |
| difficulty | string | non | text |
| partyLevel | integer | non | integer 1-20 |
| numberOfLevels | integer | non | integer 1-10 |
| monsterTypes | string | non | text |
| lootRarity | string | non | text |
| trapDensity | string | non | text |
| seed | integer | non | integer, reproducible layout |
| gameType | string | non | text |
chargen_generate_encounter
Generate encounter
Generate a D&D encounter using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen. User accounts only.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| mode | enum: "COMBAT" | "ROLEPLAY" | non | COMBAT or ROLEPLAY |
| system | enum: "DND5E_2024" | "DND5E_2014" | "PF2E" | "SWADE" | non | DND5E_2024, DND5E_2014, PF2E or SWADE |
| partyLevel | integer | non | integer 1-20 |
| partySize | integer | non | integer 1-10; optional with partyId (the party's size is used) |
| partyId | string | non | UUID of one of your parties (chargen_list_parties) |
| difficultyTier | string | non | target difficulty in the chosen system, e.g. moderate or deadly |
| monsterIds | array<string> | non | array of your monster generation UUIDs |
| npcIds | array<string> | non | array of your NPC generation UUIDs |
| hazardIds | array<string> | non | array of your hazard generation UUIDs |
| lootIds | array<string> | non | array of your loot generation UUIDs |
| questId | string | non | UUID of your quest generation |
chargen_generate_faction
Generate faction
Generate a D&D faction using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| factionType | string | non | text |
| alignment | string | non | text |
| theme | string | non | text |
| size | string | non | text |
| influenceLevel | string | non | text |
| additionalPrompt | string | non | text |
| gameMode | string | non | text |
chargen_generate_hazard
Generate hazard
Generate a D&D hazard using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| gameSystem | string | non | text |
| level | string | non | text |
| hazardType | string | non | text |
| complexity | string | non | text |
| environment | string | non | text |
| theme | string | non | text |
| disableRequirement | string | non | text |
| additionalDetails | string | non | text |
chargen_generate_image
Generate image
Render a portrait or scene image. Eligible ELITE/ULTIMATE users may use the shared monthly free-image allowance for covered models and qualities; otherwise users pay gold. Partners are billed from their wallet in USD. Choose a model via chargen_list_image_models (per-model costs, quality tiers, reference-image support). Returns request_id - poll with chargen_get_job. If the prompt is blocked by content moderation the response reports moderation_blocked: true and gold_charged: 0 (no gold was debited); the returned request_id never becomes pollable (chargen_get_job reports not_found).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | oui | What to draw, written for the chosen model: chargen_list_image_models gives each model's prompt_style and the rule for it. Nothing adds an art style or improves the wording, so say the subject, setting, medium or art style, lighting and framing yourself. |
| model | enum: "Amazon Nova Canvas" | "Anima" | "Chroma" | "CogView 4" | "Fibo 2.0" | "Ernie Image" | "Ernie Image Turbo" | "Flux.Pro" … | oui | Image model to use for rendering. Use chargen_list_image_models for per-model costs, quality tiers, and reference-image support. |
| size | string | non | Pixel size, e.g. 1024x1024. Default 1024x1024. |
| num_images | integer | non | How many images, 1 to 4 (default 1). |
| quality | enum: "Very Low" | "Low" | "Medium" | "High" | "XHigh" | "Max" | non | Rendering quality tier - changes the gold cost on quality-priced models (see chargen_list_image_models for per-tier prices; GPT Image models default to Medium). Models without quality tiers ignore it. User accounts only. |
| resolution | enum: "1k" | "1.5k" | "2k" | "4k" | "8k" | non | Output resolution tier. Flux 3 accepts 1k, 2k, or 4k and the gold cost changes (7, 17, 88). Ideogram V4.5 accepts 1k or 2k at the same gold cost. Ideogram V4.6 accepts 1k, 2k, or 4k. 1k and 2k share a price. 4k costs more, and Very Low cannot be 4k. MAI Image 2.7 is 10 gold at 1k and 19 at 2k. MAI… |
| reference_image_id | string | non | Optional id of one of the user's own CharGen images to use as the image-to-image reference (image_id values come from chargen_search_gallery or chargen_get_generation). The model must support reference input - see chargen_list_image_models. User accounts only. |
| reference_image_url | string | non | Alternative to reference_image_id: a direct http(s) URL to a .png/.jpg/.jpeg/.webp image to use as the reference. Prefer reference_image_id for CharGen images. User accounts only. |
| campaign_id | string | non | The campaign that holds campaign_entity_id (chargen_list_campaigns). Only used with campaign_entity_id. User accounts only. |
| campaign_entity_id | string | non | Optional: a tracked world-graph entity in campaign_id (chargen_list_entities). The finished image is attached to that entity automatically. User accounts only. |
chargen_generate_image_to_video
Start image to video
Start a job to animate an owned gallery image. First call chargen_quote_image_to_video, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled video model supporting image-to-video; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | oui | What moves and how, not what the picture already shows. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model. |
| negative_prompt | string | non | Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument. |
| prompt_expansion | boolean | non | Let the video model rewrite and lengthen the prompt before it renders, where the model offers it (chargen_list_media_models shows prompt_expansion in its settings). Off by default; leave it off for a prompt written in full. |
| duration_seconds | integer | non | Video duration in seconds, where supported by the model. |
| aspect_ratio | string | non | Aspect ratio supported by the model, such as 16:9. |
| resolution | string | non | Resolution supported by the model, such as 720p. |
| generate_audio | boolean | non | Generate accompanying audio, where supported. |
| source_image_id | string | oui | Owned still image to animate or use as the portrait. |
| end_image_id | string | non | Optional owned final-frame image. |
| quote_token | string | oui | Approved quote_token from chargen_quote_image_to_video. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_generate_loot
Generate loot
Generate a D&D loot using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. This generator does not create a portrait. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen. User accounts only.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| partyLevel | integer | oui | integer 1-20, required |
| theme | string | non | the prompt is used when this is omitted |
| gameType | string | non | game system, default D&D 5E |
| lootSource | enum: "ENCOUNTER" | "CONTAINER" | non | ENCOUNTER or CONTAINER |
| containerType | string | non | text |
| containerContext | string | non | whose container and where |
| protection | enum: "AUTO" | "NONE" | "LOCKED" | "TRAPPED" | "LOCKED_TRAPPED" | non | AUTO, NONE, LOCKED, TRAPPED or LOCKED_TRAPPED |
| lootBias | enum: "MUNDANE" | "MIXED" | "MAGICAL" | "EXOTIC" | non | MUNDANE, MIXED, MAGICAL or EXOTIC |
chargen_generate_magicitem
Generate magic item
Generate a D&D magic item using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| gameSystem | string | non | text |
| powerTier | string | non | text |
| itemCategory | string | non | text |
| curseLevel | string | non | text |
| theme | string | non | text |
| attunement | string | non | text |
| partyLevel | string | non | text |
| description | string | non | text |
chargen_generate_monster
Generate monster
Generate a D&D monster using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| monsterType | string | non | text |
| role | string | non | text |
| environment | string | non | text |
| size | string | non | text |
| gameSystem | string | non | text |
| description | string | non | text |
| crLevel | string | non | challenge rating |
| partyLevel | string | non | text |
| difficulty | string | non | text |
| reskinOf | string | non | existing monster to reskin |
chargen_generate_motion_transfer
Start motion transfer
Start a job to animate an owned image with motion from an owned video. First call chargen_quote_motion_transfer, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled video model supporting motion-transfer; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | non | Optional: a short note on what should be seen. |
| duration_seconds | integer | non | Video duration in seconds, where supported by the model. |
| aspect_ratio | string | non | Aspect ratio supported by the model, such as 16:9. |
| resolution | string | non | Resolution supported by the model, such as 720p. |
| source_image_id | string | oui | Owned still image to animate or use as the portrait. |
| video_id | string | oui | Owned gallery video UUID to edit, follow or add sound to. |
| quote_token | string | oui | Approved quote_token from chargen_quote_motion_transfer. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_generate_music
Start music
Start a job to create music, optionally with lyrics. First call chargen_quote_music, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled audio model supporting music; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | oui | The musical style: genre, mood, instruments, pace. Words to sing go in lyrics. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model. |
| negative_prompt | string | non | Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument. |
| duration_seconds | integer | non | Audio duration in seconds, where supported. |
| lyrics | string | non | Lyrics for a model that supports singing. |
| instrumental | boolean | non | Create music without vocals, where supported. |
| quote_token | string | oui | Approved quote_token from chargen_quote_music. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_generate_npc
Generate npc
Generate a D&D npc using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| race | string | non | text |
| npcClass | string | non | text |
| occupation | string | non | text |
| gender | string | non | text |
| age | string | non | text |
| connections | string | non | relationships to other NPCs or factions |
| level | integer | non | integer 1-20 |
| gameType | string | non | text |
| additionalDetails | string | non | Extra constraints or flavor |
| classEntityId | string | non | UUID of one of your homebrew CharacterClass generations to base this class on (optional) |
chargen_generate_pantheon
Generate pantheon
Generate a D&D pantheon using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| pantheonName | string | non | text |
| theme | string | non | text |
| worldTone | enum: "kind" | "distant" | "wrathful" | "mortal-engaged" | "warring" | non | one of: kind, distant, wrathful, mortal-engaged, warring |
| alignmentSpread | enum: "single-aligned" | "varied" | "balanced" | non | one of: single-aligned, varied, balanced |
| deityCount | integer | non | integer 3-12, default 6 |
| gameSystem | string | non | text |
chargen_generate_poetry
Generate poetry
Generate a D&D poetry using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. This generator does not create a portrait. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| contentType | string | non | text |
| theme | string | non | text |
| mood | string | non | text |
| length | string | non | text |
| specificWords | string | non | text |
| gameMode | string | non | text |
| customContentType | string | non | Required custom format for contentType Other, up to 100 characters |
| journalStyle | string | non | Personal journal or Found journal, for Journal / diary |
| authorEntityId | string | non | Optional UUID of your own Character or NPC, for Journal / diary |
chargen_generate_portrait_audio
Start portrait audio
Start a job to lip-sync an owned portrait to owned audio. First call chargen_quote_portrait_audio, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled video model supporting portrait-audio; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | non | Optional: a short note on what should be seen. |
| duration_seconds | integer | non | Video duration in seconds, where supported by the model. |
| aspect_ratio | string | non | Aspect ratio supported by the model, such as 16:9. |
| resolution | string | non | Resolution supported by the model, such as 720p. |
| source_image_id | string | oui | Owned still image to animate or use as the portrait. |
| audio_id | string | oui | Owned gallery audio UUID to lip-sync. |
| quote_token | string | oui | Approved quote_token from chargen_quote_portrait_audio. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_generate_portrait_tts
Start portrait tts
Start a job to make an owned portrait speak supplied text. First call chargen_quote_portrait_tts, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled video model supporting portrait-tts; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | non | Optional: how the portrait looks or moves while it speaks. The words go in speech_text. |
| duration_seconds | integer | non | Video duration in seconds, where supported by the model. |
| aspect_ratio | string | non | Aspect ratio supported by the model, such as 16:9. |
| resolution | string | non | Resolution supported by the model, such as 720p. |
| source_image_id | string | oui | Owned still image to animate or use as the portrait. |
| speech_text | string | oui | Exact words the portrait speaks. |
| voice | string | non | Voice supported by the selected model. |
| quote_token | string | oui | Approved quote_token from chargen_quote_portrait_tts. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_generate_puzzle
Generate puzzle
Generate a D&D puzzle using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| gameSystem | string | non | text |
| level | string | non | text |
| puzzleType | string | non | text |
| difficulty | string | non | text |
| environment | string | non | text |
| theme | string | non | text |
| requiredSkills | string | non | text |
| additionalDetails | string | non | text |
chargen_generate_quest
Generate quest
Generate a D&D quest using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| questType | string | non | text |
| gameMode | string | non | text |
| difficulty | string | non | text |
| partyLevel | string | non | text |
| durationEstimate | string | non | text |
| theme | string | non | text |
| additionalPrompt | string | non | text |
chargen_generate_reference_to_video
Start reference to video
Start a job to create a video using owned image, audio or video references. First call chargen_quote_reference_to_video, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled video model supporting reference-to-video; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | oui | What happens in the video, written for the chosen model. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model. |
| duration_seconds | integer | non | Video duration in seconds, where supported by the model. |
| aspect_ratio | string | non | Aspect ratio supported by the model, such as 16:9. |
| resolution | string | non | Resolution supported by the model, such as 720p. |
| generate_audio | boolean | non | Generate accompanying audio, where supported. |
| reference_image_ids | array<string> | non | Owned reference image UUIDs, where supported. Reference-to-video needs at least one image, audio or video reference; model-specific source counts are validated by the media policy. |
| audio_id | string | non | Optional owned gallery reference audio UUID, where supported by the model. |
| video_id | string | non | Optional owned gallery reference video UUID, where supported by the model. |
| quote_token | string | oui | Approved quote_token from chargen_quote_reference_to_video. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_generate_region
Generate region
Generate a D&D region using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| name | string | non | text |
| regionType | string | non | text |
| climate | string | non | text |
| terrain | string | non | text |
| scale | string | non | text |
| dominantCulture | string | non | text |
| magicLevel | string | non | text |
| gameType | string | non | text |
chargen_generate_settlement
Generate settlement
Generate a D&D settlement using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| name | string | non | text |
| settlementType | string | non | text |
| populationSize | string | non | text |
| location | string | non | text |
| primaryRace | string | non | text |
| governmentType | string | non | text |
| economicFocus | string | non | text |
| magicalPrevalence | string | non | text |
| gameType | string | non | text |
chargen_generate_ship
Generate ship
Generate a D&D ship using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| name | string | non | used exactly when given |
| kind | enum: "starship" | "station" | "airship" | "sailing_ship" | "astral_ship" | "submarine" | "riverboat" | "small_craft" … | non | starship, station, airship, sailing_ship, astral_ship, submarine, riverboat, small_craft or other; omit to let the generator choose |
| shipClass | string | non | free text class, used exactly when given |
| size | enum: "large" | "medium" | "small" | non | small (2 decks), medium (4) or large (6); omit for 2 to 6 |
| gameMode | string | non | game system, e.g. D&D 5E or Starfinder 2E |
| additionalPrompt | string | non | Extra constraints or flavor |
| partyId | string | non | UUID of one of your parties (chargen_list_parties) |
| partyRole | enum: "CREW" | "ABOARD" | "MEETING" | non | with partyId: CREW (the party crews the ship), ABOARD (passengers) or MEETING (they meet the ship) |
chargen_generate_shop
Generate shop
Generate a D&D shop using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| partyLevel | integer | non | integer 1-20 |
| shopType | string | non | text |
| theme | string | non | text |
| gameMode | string | non | text |
chargen_generate_species
Generate species
Generate a D&D species using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| gameSystem | string | non | text |
| creatureType | string | non | text |
| size | string | non | text |
| habitat | string | non | text |
| inspirationArchetype | string | non | text |
| powerLevel | string | non | text |
| additionalDetails | string | non | text |
chargen_generate_spellbook
Generate spellbook
Generate a D&D spellbook using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| theme | string | non | text |
| spellcasterLevel | integer | non | integer 1-20 |
| spellcasterType | string | non | text |
| gameSystem | string | non | text |
| flavorText | string | non | text |
chargen_generate_sprite_effect
Order sprite effect
Order an animated pixel sprite effect, for example a fireball or a healing light, from a preset or the user's own description, in parts that play one after another: 10 Gold for the first part and 8 for each more part. It can be drawn in an element's colours, or in the colours of one of the user's character sprite sets (reference_set_id). First call chargen_quote_sprite_effect, confirm the price with the user, then supply its quote_token with identical inputs. Returns request_id; poll chargen_get_job for each part's animated GIF. A part that fails is refunded. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| preset | enum: "explosion" | "aura" | "fireball" | "lightning" | "frostnova" | "slash" | "necrotic" | "heal" … | non | One of CharGen's effects. Give preset or description, not both. |
| description | string | non | The effect in the user's own words, in place of preset. |
| parts | array<enum: "SPARK" | "BLAST" | "SMOKE" | "RISES" | "PULSES" | "FADES" | "FORMING" | "FLYING" …> | non | The parts to draw, by key, each one at most once. With a preset, its own parts (explosion: SPARK, BLAST, SMOKE; aura: RISES, PULSES, FADES; fireball: FORMING, FLYING, BURST; lightning: GATHERS, STRIKE, SCORCH; frostnova: GATHERS, BURST, LINGERS; slash: CHARGE, SLASH, SMALL_HIT; necrotic: GATHERS, B… |
| custom_parts | array<object> | non | Parts in the user's own words. |
| element | enum: "FIRE" | "ICE" | "LIGHTNING" | "POISON" | "HOLY" | "DARK" | "ARCANE" | "NATURE" | non | Optional element or colour that every part is drawn in. |
| reference_set_id | string | non | Optional set_id of one of the user's character sprite sets (chargen_get_job shows set_id). The effect is drawn in the colours of that character's Cast move, or of its base sprite. |
| title | string | non | Optional name for these sprites in the user's library. |
| quote_token | string | oui | Approved quote_token from chargen_quote_sprite_effect. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_generate_sprite_item
Order sprite item
Order an animated pixel sprite item, for example a potion or a key, from a preset or the user's own description, in parts that play one after another: 10 Gold for the first part and 8 for each more part. It can be drawn in an element's colours, or from one of the user's own still pictures (reference_image_id). First call chargen_quote_sprite_item, confirm the price with the user, then supply its quote_token with identical inputs. Returns request_id; poll chargen_get_job for each part's animated GIF. A part that fails is refunded. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| preset | enum: "gem" | "heart" | "healthpotion" | "manapotion" | "coin" | "chest" | "sword" | "ring" … | non | One of CharGen's items. Give preset or description, not both. |
| description | string | non | The item in the user's own words, in place of preset. |
| parts | array<enum: "SPINS" | "SHINES" | "COLLECTED" | "BEATS" | "POPS" | "BUBBLES" | "DRUNK" | "HEALS" …> | non | The parts to draw, by key, each one at most once. With a preset, its own parts (gem: SPINS, SHINES, COLLECTED; heart: BEATS, POPS, COLLECTED; healthpotion: BUBBLES, DRUNK, HEALS; manapotion: SWIRLS, DRUNK, GLOWS; coin: SPINS, FLIPS, SHINES; chest: SHINES, RATTLES, OPENS; sword: GLOWS, FLARES, DIMS;… |
| custom_parts | array<object> | non | Parts in the user's own words. |
| element | enum: "FIRE" | "ICE" | "LIGHTNING" | "POISON" | "HOLY" | "DARK" | "ARCANE" | "NATURE" | non | Optional element or colour that every part is drawn in. |
| reference_image_id | string | non | Optional UUID of one of the user's own still pictures, from chargen_search_gallery. The item is drawn from it. |
| title | string | non | Optional name for these sprites in the user's library. |
| quote_token | string | oui | Approved quote_token from chargen_quote_sprite_item. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_generate_tavern
Generate tavern
Generate a D&D tavern using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| partyLevel | integer | non | integer 1-20 |
| tavernType | string | non | text |
| theme | string | non | text |
| gameMode | string | non | text |
chargen_generate_text_to_video
Start text to video
Start a job to create a video from a text description. First call chargen_quote_text_to_video, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled video model supporting text-to-video; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | oui | What happens in the video, written for the chosen model. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model. |
| negative_prompt | string | non | Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument. |
| prompt_expansion | boolean | non | Let the video model rewrite and lengthen the prompt before it renders, where the model offers it (chargen_list_media_models shows prompt_expansion in its settings). Off by default; leave it off for a prompt written in full. |
| duration_seconds | integer | non | Video duration in seconds, where supported by the model. |
| aspect_ratio | string | non | Aspect ratio supported by the model, such as 16:9. |
| resolution | string | non | Resolution supported by the model, such as 720p. |
| generate_audio | boolean | non | Generate accompanying audio, where supported. |
| audio_id | string | non | Optional owned gallery reference audio UUID, where supported by the model. |
| video_id | string | non | Optional owned gallery reference video UUID, where supported by the model. |
| quote_token | string | oui | Approved quote_token from chargen_quote_text_to_video. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_generate_tts
Start tts
Start a job to speak the exact supplied text. First call chargen_quote_tts, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | non | Enabled audio model supporting tts; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | oui | The exact words to speak. Speech is priced per 1,000 characters. |
| voice | string | non | Voice supported by the selected model. |
| quote_token | string | oui | Approved quote_token from chargen_quote_tts. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_generate_video_edit
Start video edit
Start a job to edit an owned gallery video. First call chargen_quote_video_edit, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled video model supporting video-edit; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | oui | The change to make to the video. |
| duration_seconds | integer | non | Video duration in seconds, where supported by the model. |
| aspect_ratio | string | non | Aspect ratio supported by the model, such as 16:9. |
| resolution | string | non | Resolution supported by the model, such as 720p. |
| generate_audio | boolean | non | Generate accompanying audio, where supported. |
| reference_image_ids | array<string> | non | Owned reference image UUIDs, where supported. Reference-to-video needs at least one image, audio or video reference; model-specific source counts are validated by the media policy. |
| audio_id | string | non | Optional owned gallery reference audio UUID, where supported by the model. |
| swap_target | string | non | OpenJutsu Object Swap only, and required there: the thing in the video to change, such as hair, jacket or car (a comma list is allowed). In Background mode, the thing to keep. |
| swap_mode | enum: "Change" | "Background" | non | OpenJutsu Object Swap only: Change (default) changes the target into what the prompt or the reference image describes; Background keeps the target and changes everything around it. |
| video_id | string | oui | Owned gallery video UUID to edit, follow or add sound to. |
| quote_token | string | oui | Approved quote_token from chargen_quote_video_edit. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_generate_video_to_audio
Start video to audio
Start a job to create sound for an owned gallery video. First call chargen_quote_video_to_audio, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled audio model supporting video-to-audio; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | non | The sounds to add to the video. Optional when the chosen model supports video-derived sound without text; otherwise required. |
| negative_prompt | string | non | Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument. |
| duration_seconds | integer | non | Audio duration in seconds, where supported. |
| video_id | string | oui | Owned gallery video UUID to edit, follow or add sound to. |
| quote_token | string | oui | Approved quote_token from chargen_quote_video_to_audio. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_generate_video_to_video
Start video to video
Start a job to create a new soundtrack on a copy of an owned gallery video. First call chargen_quote_video_to_video, confirm the price with the user, then supply its quote_token with identical inputs. Spends the quoted Gold; returns request_id to poll with chargen_get_job. Only the declared settings are supported. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled audio model supporting video-to-video; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | non | The sounds to add to the video. Optional when the chosen model supports video-derived sound without text; otherwise required. |
| negative_prompt | string | non | Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument. |
| duration_seconds | integer | non | Audio duration in seconds, where supported. |
| video_id | string | oui | Owned gallery video UUID to edit, follow or add sound to. |
| quote_token | string | oui | Approved quote_token from chargen_quote_video_to_video. Use the same inputs; changed inputs or prices fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_generate_world
Generate world
Generate a D&D world using the declared prompt and optional structured fields. Entity text is free on every user plan, including Free. Portraits use the account's art preset: the default is free; a paid preset charges its Gold price, shown as portrait_gold, or falls back to the free default if unaffordable. Partner keys are billed from their wallet. Returns a job_id immediately; poll chargen_get_job for the entity_id and page_url. Pass collection_id to file it into your folder. Generated entries are public by default; change visibility in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| prompt | string | non | Freeform description guiding this generation. |
| collection_id | string | non | Optional folder UUID owned by you; user accounts only. The finished entity is filed there on the first completed chargen_get_job poll. |
| idempotency_key | string | non | Optional partner billing deduplication key. Retries with the same key avoid a second wallet debit, but can start another generation. |
| name | string | non | text |
| shape | string | non | text |
| theme | string | non | text |
| magicLevel | string | non | text |
| technologyLevel | string | non | text |
| regionCount | integer | non | Number of regions, 3 to 12 (default 8). Values outside the range are clamped. |
chargen_get_campaign
Get campaign dashboard
Campaign dashboard: tracked and candidate world-graph entities per type (NPCs, monsters, locations, factions, items, players) plus recent timeline. Use chargen_list_entities for full lists.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
chargen_get_collection
Get folder
One folder and its filed items: per item the item ROW id (used by chargen_remove_collection_item), item_type, target_id and resolved display (title, subtitle, image_url). Get folder ids from chargen_list_collections.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| collection_id | string | oui | Collection UUID |
chargen_get_entity
Get world entity
Full detail for one world-graph entity: description, notes, AI summary, aliases, mention stats, relationships, linked generations and image URLs. Use inspector_url to link the selected record in ChatGPT.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| entity_id | string | oui | Entity UUID |
chargen_get_generation
Get generation
One generation in full: parsed output data plus associated image URLs (thumbnail-first, never base64). Very large outputs are truncated to a raw JSON prefix with output_truncated: true instead of failing; check that flag before assuming the full output object is present. images and relationships are independently paged 20 per page via images_page/relationships_page (1-indexed, default 1); check images_total/relationships_total and the *_next_page fields to page through the rest.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| generation_id | string | oui | Generation UUID |
| images_page | integer | non | 1-indexed page of the images list to return, 20 per page. Default 1. |
| relationships_page | integer | non | 1-indexed page of the relationships list to return, 20 per page. Default 1. |
chargen_get_job
Check job status
Check a job by id: an entity generation job, or a request from chargen_generate_image, a fixed video, audio, image edit or workflow run tool from chargen_list_recipes, or a Pixel Sprites order tool. Returns status, the error on failure, and when ready the generation id or the media (media_type, media_url, page_url; a workflow run lists every output with its role; a sprite order lists every move or part with its animated GIF, its set_id and any Gold refunded). Checking a job never cancels it and never deletes or overwrites content. When a video, audio, edit or workflow job passes its time limit, CharGen records it as timed out and returns its Gold, whether or not anyone checks. Checking a completed generation may also file it in the folder requested at generation time.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| job_id | string | oui | Job UUID from a generate tool |
chargen_get_party
Get party
Party roster: members with race, class and description, plus portrait image URLs.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| party_id | string | oui | Party UUID |
chargen_get_pricing
Get pricing
Current pricing: per-generator entity fees and gold conversion (partners), or gold costs for campaign batch generation (users).
Aucun paramètre.
chargen_get_quest
Get quest
One quest in full: objectives, giver, progress log, success and failure conditions, rewards, next actions. Owner-only (DM material).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| quest_id | string | oui | Quest UUID |
chargen_get_recipe_3d_cartoon_diorama
Get 3d cartoon diorama
Read the input rules, allowed values, output shape and pricing for the 3d cartoon diorama workflow: turn an owned image into a 3D cartoon diorama. Takes no arguments and never starts a run. Use chargen_quote_recipe_3d_cartoon_diorama to price exact values and chargen_run_recipe_3d_cartoon_diorama to start this workflow.
Aucun paramètre.
chargen_get_recipe_anime_style
Get anime style
Read the input rules, allowed values, output shape and pricing for the anime style workflow: turn an owned portrait into anime art. Takes no arguments and never starts a run. Use chargen_quote_recipe_anime_style to price exact values and chargen_run_recipe_anime_style to start this workflow.
Aucun paramètre.
chargen_get_recipe_art_style_transfer
Get art style transfer
Read the input rules, allowed values, output shape and pricing for the art style transfer workflow: restyle an owned image in a selected art style. Takes no arguments and never starts a run. Use chargen_quote_recipe_art_style_transfer to price exact values and chargen_run_recipe_art_style_transfer to start this workflow.
Aucun paramètre.
chargen_get_recipe_box_model
Get box model
Read the input rules, allowed values, output shape and pricing for the box model workflow: present an owned image's subject as a boxed collectible. Takes no arguments and never starts a run. Use chargen_quote_recipe_box_model to price exact values and chargen_run_recipe_box_model to start this workflow.
Aucun paramètre.
chargen_get_recipe_character_production_pack
Get character production pack
Read the input rules, allowed values, output shape and pricing for the character production pack workflow: create a coordinated production pack from owned character artwork. Takes no arguments and never starts a run. Use chargen_quote_recipe_character_production_pack to price exact values and chargen_run_recipe_character_production_pack to start this workflow.
Aucun paramètre.
chargen_get_recipe_character_progression_pack
Get character progression pack
Read the input rules, allowed values, output shape and pricing for the character progression pack workflow: create a character progression pack from owned artwork. Takes no arguments and never starts a run. Use chargen_quote_recipe_character_progression_pack to price exact values and chargen_run_recipe_character_progression_pack to start this workflow.
Aucun paramètre.
chargen_get_recipe_character_reference_sheet
Get character reference sheet
Read the input rules, allowed values, output shape and pricing for the character reference sheet workflow: create a character reference sheet from owned artwork. Takes no arguments and never starts a run. Use chargen_quote_recipe_character_reference_sheet to price exact values and chargen_run_recipe_character_reference_sheet to start this workflow.
Aucun paramètre.
chargen_get_recipe_character_variants
Get character variants
Read the input rules, allowed values, output shape and pricing for the character variants workflow: create selected character variations from owned artwork. Takes no arguments and never starts a run. Use chargen_quote_recipe_character_variants to price exact values and chargen_run_recipe_character_variants to start this workflow.
Aucun paramètre.
chargen_get_recipe_claymation
Get claymation
Read the input rules, allowed values, output shape and pricing for the claymation workflow: restyle an owned image as a claymation scene. Takes no arguments and never starts a run. Use chargen_quote_recipe_claymation to price exact values and chargen_run_recipe_claymation to start this workflow.
Aucun paramètre.
chargen_get_recipe_creature_reference_pack
Get creature reference pack
Read the input rules, allowed values, output shape and pricing for the creature reference pack workflow: create a creature reference pack from owned artwork. Takes no arguments and never starts a run. Use chargen_quote_recipe_creature_reference_pack to price exact values and chargen_run_recipe_creature_reference_pack to start this workflow.
Aucun paramètre.
chargen_get_recipe_faction_heraldry_kit
Get faction heraldry kit
Read the input rules, allowed values, output shape and pricing for the faction heraldry kit workflow: create faction heraldry from an owned reference image. Takes no arguments and never starts a run. Use chargen_quote_recipe_faction_heraldry_kit to price exact values and chargen_run_recipe_faction_heraldry_kit to start this workflow.
Aucun paramètre.
chargen_get_recipe_fantasy_bestiary_page
Get fantasy bestiary page
Read the input rules, allowed values, output shape and pricing for the fantasy bestiary page workflow: turn an owned creature image into a fantasy bestiary page. Takes no arguments and never starts a run. Use chargen_quote_recipe_fantasy_bestiary_page to price exact values and chargen_run_recipe_fantasy_bestiary_page to start this workflow.
Aucun paramètre.
chargen_get_recipe_location_variants
Get location variants
Read the input rules, allowed values, output shape and pricing for the location variants workflow: create location variations from owned artwork. Takes no arguments and never starts a run. Use chargen_quote_recipe_location_variants to price exact values and chargen_run_recipe_location_variants to start this workflow.
Aucun paramètre.
chargen_get_recipe_magic_item_showcase
Get magic item showcase
Read the input rules, allowed values, output shape and pricing for the magic item showcase workflow: create a magic item showcase from an owned reference image. Takes no arguments and never starts a run. Use chargen_quote_recipe_magic_item_showcase to price exact values and chargen_run_recipe_magic_item_showcase to start this workflow.
Aucun paramètre.
chargen_get_recipe_monster_variant_sheet
Get monster variant sheet
Read the input rules, allowed values, output shape and pricing for the monster variant sheet workflow: create a set of monster variations from an owned creature image. Takes no arguments and never starts a run. Use chargen_quote_recipe_monster_variant_sheet to price exact values and chargen_run_recipe_monster_variant_sheet to start this workflow.
Aucun paramètre.
chargen_get_recipe_photo_to_dnd_character
Get photo to dnd character
Read the input rules, allowed values, output shape and pricing for the photo to dnd character workflow: turn an owned portrait into a fantasy roleplaying character. Takes no arguments and never starts a run. Use chargen_quote_recipe_photo_to_dnd_character to price exact values and chargen_run_recipe_photo_to_dnd_character to start this workflow.
Aucun paramètre.
chargen_get_recipe_plushie
Get plushie
Read the input rules, allowed values, output shape and pricing for the plushie workflow: turn an owned image's subject into a plush toy illustration. Takes no arguments and never starts a run. Use chargen_quote_recipe_plushie to price exact values and chargen_run_recipe_plushie to start this workflow.
Aucun paramètre.
chargen_get_recipe_product_photography
Get product photography
Read the input rules, allowed values, output shape and pricing for the product photography workflow: create product photography from an owned product image. Takes no arguments and never starts a run. Use chargen_quote_recipe_product_photography to price exact values and chargen_run_recipe_product_photography to start this workflow.
Aucun paramètre.
chargen_get_recipe_rpg_character_asset_pack
Get rpg character asset pack
Read the input rules, allowed values, output shape and pricing for the rpg character asset pack workflow: create a roleplaying character asset pack from owned artwork. Takes no arguments and never starts a run. Use chargen_quote_recipe_rpg_character_asset_pack to price exact values and chargen_run_recipe_rpg_character_asset_pack to start this workflow.
Aucun paramètre.
chargen_get_recipe_rpg_sprite_sheet
Get rpg sprite sheet
Read the input rules, allowed values, output shape and pricing for the rpg sprite sheet workflow: create a roleplaying sprite sheet from owned character artwork. Takes no arguments and never starts a run. Use chargen_quote_recipe_rpg_sprite_sheet to price exact values and chargen_run_recipe_rpg_sprite_sheet to start this workflow.
Aucun paramètre.
chargen_get_recipe_sketch_to_battlemap
Get sketch to battlemap
Read the input rules, allowed values, output shape and pricing for the sketch to battlemap workflow: develop an owned sketch into a battlemap. Takes no arguments and never starts a run. Use chargen_quote_recipe_sketch_to_battlemap to price exact values and chargen_run_recipe_sketch_to_battlemap to start this workflow.
Aucun paramètre.
chargen_get_recipe_sketch_to_image
Get sketch to image
Read the input rules, allowed values, output shape and pricing for the sketch to image workflow: develop an owned sketch into a finished illustration. Takes no arguments and never starts a run. Use chargen_quote_recipe_sketch_to_image to price exact values and chargen_run_recipe_sketch_to_image to start this workflow.
Aucun paramètre.
chargen_get_recipe_storybook_animation
Get storybook animation
Read the input rules, allowed values, output shape and pricing for the storybook animation workflow: restyle an owned image as a storybook animation illustration. Takes no arguments and never starts a run. Use chargen_quote_recipe_storybook_animation to price exact values and chargen_run_recipe_storybook_animation to start this workflow.
Aucun paramètre.
chargen_get_recipe_tarot_card
Get tarot card
Read the input rules, allowed values, output shape and pricing for the tarot card workflow: turn an owned image's subject into a tarot card. Takes no arguments and never starts a run. Use chargen_quote_recipe_tarot_card to price exact values and chargen_run_recipe_tarot_card to start this workflow.
Aucun paramètre.
chargen_get_recipe_tavern_menu
Get tavern menu
Read the input rules, allowed values, output shape and pricing for the tavern menu workflow: create a tavern menu lettered with tavernName and dishes (one dish and its price per line, up to four), optionally from an owned tavern image. Takes no arguments and never starts a run. Use chargen_quote_recipe_tavern_menu to price exact values and chargen_run_recipe_tavern_menu to start this workflow.
Aucun paramètre.
chargen_get_recipe_wanted_poster
Get wanted poster
Read the input rules, allowed values, output shape and pricing for the wanted poster workflow: turn an owned character portrait into a wanted poster lettered with posterName and bounty (bounty is 500 GOLD when empty). Takes no arguments and never starts a run. Use chargen_quote_recipe_wanted_poster to price exact values and chargen_run_recipe_wanted_poster to start this workflow.
Aucun paramètre.
chargen_get_relationship_graph
Get relationship graph
Relationship edges for one entity (pass entity_id) or the whole campaign (omit it). Focused mode (entity_id passed) emits one row per other entity as other_id/other_name/other_type. Whole-campaign mode (entity_id omitted) emits one row per entity pair, naming both endpoints as from_id/from_name/from_type and to_id/to_name/to_type. Each edge has a source: SESSION (seen together in sessions; weight counts shared moments) or RECORD (a link between the saved records linked to the two entities; last_session is null; it always names both ends as from_*/to_*, so its direction is clear in focused mode too). Capped at 'limit' edges (default 25, max 100); the service caps at 200 total.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| entity_id | string | non | Optional entity UUID to focus on |
| cursor | string | non | Opaque cursor from the previous page's nextCursor |
| limit | integer | non | Max items to return (default 25, max 100) |
chargen_get_session_recap
Get session recap
A session's recap: full, short and spoiler-free summaries, key events, highlights with quotes, NPCs, monsters, locations, spells, items, factions and character actions. Actions include entry IDs, summary, interaction text and complete interaction_links for chargen_edit_recap_entry. DM notes are visible only to the campaign owner. Pass 'version' for recap history; omit for the latest.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| version | integer | non | Recap version (omit for latest) |
| session_id | string | oui | Session UUID |
chargen_get_timeline
Get campaign timeline
Campaign timeline (character actions, key events, highlights) newest-first. Filter with entity_id and/or from_session/to_session.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| to_session | integer | non | Highest session number to include |
| campaign_id | string | oui | Campaign UUID |
| from_session | integer | non | Lowest session number to include |
| entity_id | string | non | Only items linked to this entity |
| cursor | string | non | Opaque cursor from the previous page's nextCursor |
| limit | integer | non | Max items to return (default 25, max 100) |
chargen_get_tracker
Get quest tracker
The campaign's quest tracker: quests, open threads (unresolved questions) and plot hooks. Owner-only (DM material).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
chargen_get_transcript
Get session transcript
Diarised transcript of a session, chunked by segment offset/limit (limit default 50, max 100). Falls back to raw-text chunks of ~4000 chars each when no structured dialogue exists, with its own smaller page size (limit default 5, max 6). The response reports total_segments; page with 'offset'.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limit | integer | non | Segments to return (default 50, max 100). The raw-text fallback uses a smaller page size - default 5, max 6 - since each item is a ~4000-char text chunk. |
| offset | integer | non | First segment index (default 0) |
| session_id | string | oui | Session UUID |
chargen_link_generation
Link generation to campaign entity
Attach a generation (a saved library item) to a campaign's world-graph entity, so its art and details show on that entity. Pass entity_id to link to an existing tracked entity, or omit it and pass entity_type + display_name to create the tracked entity and link in one call (re-using an existing entity with the same name). Re-linking the same generation updates its link metadata.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| generation_id | string | oui | Generation UUID to attach |
| entity_id | string | non | Existing world-graph entity UUID. Omit to create one from entity_type + display_name |
| entity_type | enum: "NPC" | "MONSTER" | "LOCATION" | "FACTION" | "ITEM" | non | Type for the created entity (create mode only) |
| display_name | string | non | Name for the created entity (create mode only) |
| label | string | non | Optional label for the link |
chargen_list_campaigns
List campaigns
List your campaigns: id, name, status, session count, player count, last activity. Cursor is an element offset.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| cursor | string | non | Opaque cursor from the previous page's nextCursor |
| limit | integer | non | Max items to return (default 25, max 100) |
chargen_list_collections
List folders
Folder tree of the user's World Codex (omit campaign_id) or a campaign workspace (campaign_id set). Returns structure and per-folder item_count only - call chargen_get_collection for one folder's items. Workspace trees include codex folders the campaign references (from_codex true; grafted roots carry ref_row_id).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | non | Campaign UUID for that campaign's workspace tree; omit for the World Codex |
chargen_list_entities
List world entities
World-graph entities of a campaign. Filter by entity_type (NPC, MONSTER, LOCATION, FACTION, ITEM, PLAYER); include_candidates=true adds unconfirmed candidates. Cursor is an element offset.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| entity_type | string | non | NPC | MONSTER | LOCATION | FACTION | ITEM | PLAYER (omit for all) |
| include_candidates | boolean | non | Include CANDIDATE entities (default false) |
| campaign_id | string | oui | Campaign UUID |
| cursor | string | non | Opaque cursor from the previous page's nextCursor |
| limit | integer | non | Max items to return (default 25, max 100) |
chargen_list_entity_merges
List world entity merges
Read active, undoable world-graph entity merges in a campaign you own. Returns merge_id, source and target identities and types, and merged_at. Use a returned merge_id with chargen_undo_entity_merge to restore a merge. This tool only reads history.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
chargen_list_entity_types
List entity types
List supported entity types and their fixed generation tool names. Each generation tool already declares its complete inputs in tools/list. Entity text generation is free on every user plan, including Free.
Aucun paramètre.
chargen_list_generations
List generations
List generated entities (NPCs, monsters, shops, ...). Users: filter by generation_type and q; cursor is a page number. Partners: org generations, cursor is a timestamp token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| q | string | non | Text filter (user principals only) |
| generation_type | string | non | Generator type filter, e.g. NPC, MONSTER |
| cursor | string | non | Opaque cursor from the previous page's nextCursor |
| limit | integer | non | Max items to return (default 25, max 100) |
chargen_list_image_models
List image models
The image models chargen_generate_image accepts, with per-image gold costs (including Low/Medium/High tiers on legacy quality-priced models and Low/Medium/High/XHigh/Max tiers on GPT Image 2.5 and 2.6), pixel size bounds and whether the model supports a reference image for image-to-image, which models are CharGen's top picks (top_pick, default_model), and how to phrase a prompt for each model family (prompt_style and prompt_styles). Costs are for one 1024x1024 image; num_images multiplies the cost. Entity generation through the fixed generation tools is free for subscribers, and so is its portrait unless the user has chosen a paid art preset in CharGen.
Aucun paramètre.
chargen_list_media_models
List media models
Browse video, audio and 3D model choices, supported settings, voices and indicative Gold prices. All quote and generation operations already have fixed tools with complete input schemas; this optional catalogue does not define new operations or inputs. Each result links its fixed quote and execution tool names. With kind alone it is an index: every model, the operations (modes) it runs and its price at default settings. Pass mode for the models of one operation with their settings, sources and how to phrase the prompt (prompt_style and prompt_styles). Pass model for one model's settings, voices and prompt_rule; voice_query filters the voice list (at most 100 voices). kind model_3d lists the 3D create models with their options and the 3D tools (cleanup, uv, rig, animate, split) with the Tripo models they use and their Gold. Obtain the exact price from the corresponding quote tool.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| kind | enum: "video" | "audio" | "model_3d" | oui | Which media models to list. |
| mode | enum: "text-to-video" | "image-to-video" | "reference-to-video" | "video-edit" | "portrait-tts" | "portrait-audio" | "motion-transfer" | "tts" … | non | Optional operation of a video or audio fixed tool, such as image-to-video or music: lists only the models that run it, with their settings and sources for it. |
| model | string | non | Optional model name from the index: returns that model's supported settings, voices and sources. |
| voice_query | string | non | Optional text to filter the voice list of the chosen model (case-insensitive). |
chargen_list_parties
List parties
List your parties: id, name, linked campaign, member count. Cursor is an element offset.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| cursor | string | non | Opaque cursor from the previous page's nextCursor |
| limit | integer | non | Max items to return (default 25, max 100) |
chargen_list_recipes
List image workflows
CharGen's one-click image workflows (turn a portrait into a tarot card, a character reference sheet, a faction heraldry kit and more), with required input names and Gold price per output. This tool only lists the catalogue. Each entry names its separately registered detail, quote and run tools; call those tools for the corresponding workflow operation.
Aucun paramètre.
chargen_list_sessions
List sessions
List a campaign's sessions: number, name, date, processing status, short recap summary. Cursor is a page number.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| cursor | string | non | Opaque cursor from the previous page's nextCursor |
| limit | integer | non | Max items to return (default 25, max 100) |
chargen_merge_entities
Merge world entities
Merge one world-graph entity into another - for duplicates like 'Selphina'/'Sylphina' created by mispronunciations. Moves aliases, mentions, timeline links, images and generation links to the target and archives the source. Use chargen_undo_entity_merge with the returned merge_id to reverse it; chargen_list_entity_merges reads merge history. Renaming the misspelling inside session text and recaps is separate - after merging, run chargen_preview_find_replace, then chargen_apply_find_replace with this merge_id. Manual merges may combine any non-Player entity types. The target survives and keeps its type. Players can receive only Players or NPCs, and a Player cannot merge into another type.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| target_entity_id | string | oui | Surviving entity UUID |
| source_entity_id | string | oui | Duplicate entity UUID to merge away |
chargen_open_entity_inspector
CharGen
Open the CharGen Maker desk to browse artwork, start a creative project, or explore a campaign atlas. Open a campaign record for table notes, linked sheets and session sources.
Aucun paramètre.
chargen_preview_find_replace
Preview session text matches
Count text matches in a campaign's sessions without changing them. To replace text, use chargen_apply_find_replace for each selected session after user approval.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID (required for preview) |
| find | string | oui | Text to find |
chargen_quote_3d_animate
Quote 3D animation
Quote the exact Gold price to rig and animate one of the user's 3D models with Tripo Animate (the rig is included): 1 to 5 moves, one named clip each in one file. Price by the number of moves: 1 move 50 Gold, 2 moves 65, 3 moves 75, 4 moves 90, 5 moves 105. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_3d_animate with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model_id | string | oui | A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id. |
| moves | array<enum: "idle" | "walk" | "run" | "dive" | "climb" | "jump" | "slash" | "shoot" …> | non | 1 to 5 moves, one clip each (default walk). Each move adds to the price. |
| rig_type | enum: "auto" | "biped" | "quadruped" | "hexapod" | "octopod" | "avian" | "serpentine" | "aquatic" … | non | Body type of the skeleton (default auto). |
| bone_names | enum: "tripo" | "mixamo" | "actorcore" | "unity" | "unreal" | "vrm" | non | Bone naming standard, for the engine the model goes to (default tripo). |
| file_format | enum: "glb" | "fbx" | non | File type of the result (default glb). Tripo can return FBX even when glb is asked for. |
| in_place | boolean | non | Keep the model in place instead of moving forward (default false). |
chargen_quote_3d_cleanup
Quote 3D clean up
Quote the exact Gold price to clean up one of the user's 3D models with Tripo Retopology: fewer, tidier faces, with an optional face target, quads, and UVs in the same pass (uv_in_same_pass). Price by version: v3.0 50 Gold (default), 55 Gold with quads, v2.0 45 Gold, v1.0 15 Gold. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_3d_cleanup with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model_id | string | oui | A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id. |
| version | enum: "v3.0" | "v2.0" | "v1.0" | non | Tripo Retopology version (default v3.0). |
| quads | boolean | non | Quad faces instead of triangles (default false). Costs 5 Gold more on v3.0. |
| face_limit | integer | non | Target number of faces, from 100 to 200000. |
| uv_in_same_pass | boolean | non | Also unwrap UVs in the same pass (version v3.0 only). Free. |
| keep_textures | boolean | non | Keep the textures on the result (default true). Free. |
chargen_quote_3d_model
Quote 3D model
Quote the exact Gold price to make a 3D model from one of the user's own pictures (image_id) or from a description (prompt), with Meshy6, Meshy V7, Meshy V7.1, Rodin v2.5, Trellis 2, Tripo P2, Tripo Parts. Tripo Parts makes a model in separate parts from a picture. Prices depend on the model and its options: Tripo Parts 115 Gold, Tripo P2 115 to 150 Gold; chargen_list_media_models with kind model_3d lists every model's price and options. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_3d_model with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | enum: "Meshy6" | "Meshy V7" | "Meshy V7.1" | "Rodin v2.5" | "Trellis 2" | "Tripo P2" | "Tripo Parts" | oui | The 3D model to create with. |
| image_id | string | non | One of the user's own still pictures (from chargen_search_gallery) to make the model from. Give image_id or prompt, not both. Required for Meshy V7, Trellis 2 and Tripo Parts. |
| prompt | string | non | A description of the model, for a model that makes models from text. Leave it out when image_id is given. |
| hint | string | non | Tripo Parts only: optional guidance for how to split the parts. |
| options | object | non | Optional model settings by their exact key, for example {"Texture Quality": "detailed"} for Tripo P2. chargen_list_media_models with kind model_3d lists each model's keys and values; any other key is refused. |
chargen_quote_3d_rig
Quote 3D rig
Quote the exact Gold price to add a skeleton to one of the user's 3D models with Tripo Rig. Price: 35 Gold. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_3d_rig with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model_id | string | oui | A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id. |
| rig_type | enum: "auto" | "biped" | "quadruped" | "hexapod" | "octopod" | "avian" | "serpentine" | "aquatic" … | non | Body type of the skeleton (default auto). |
| bone_names | enum: "tripo" | "mixamo" | "actorcore" | "unity" | "unreal" | "vrm" | non | Bone naming standard, for the engine the model goes to (default tripo). |
| file_format | enum: "glb" | "fbx" | non | File type of the result (default glb). Tripo can return FBX even when glb is asked for. |
chargen_quote_3d_split
Quote 3D split
Quote the exact Gold price to split one of the user's 3D models into parts or fill its hidden surfaces: method shape (Tripo Segment), name (Tripo Smart Segment, GLB models only, optional hint), fill (Tripo Mesh Complete fills hidden surfaces) or seal (Tripo Mesh Complete closes the holes quickly). Parts have generic names. Price by method: shape 55 Gold, name 75 Gold, fill 125 Gold, seal 95 Gold. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_3d_split with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model_id | string | oui | A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id. |
| method | enum: "shape" | "name" | "fill" | "seal" | oui | shape: split by shape (Tripo Segment). name: split into named kinds of part (Tripo Smart Segment, GLB models only). fill: fill hidden surfaces (Tripo Mesh Complete). seal: close the holes quickly (Tripo Mesh Complete quick cap). |
| segment_version | enum: "v1.0" | "v2.0" | non | shape, fill and seal: the segmentation version (default v1.0). |
| granularity | enum: "balanced" | "simple" | "detailed" | non | shape with segment_version v2.0 only: how finely to split (default balanced). |
| split_by_connectivity | boolean | non | shape with segment_version v2.0 only: also split pieces that do not touch. |
| part_granularity | enum: "medium" | "coarse" | "fine" | non | name only: how finely to split (default medium). |
| hint | string | non | name only: optional guidance for the parts, for example "sword, shield, helmet". |
chargen_quote_3d_uv
Quote 3D UV unwrap
Quote the exact Gold price to unwrap the UVs of one of the user's 3D models with Tripo Smart UV. Tripo Smart UV refuses a model with more than 80,000 triangles, so clean up a raw generated model first (chargen_edit_3d_cleanup can unwrap UVs in the same pass). Price: 30 Gold. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_3d_uv with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model_id | string | oui | A 3D model from the user's own gallery: an image_id from chargen_search_gallery with media_type model_3d, or a finished 3D job's image_id. |
| keep_textures | boolean | non | Keep the textures on the result (default true). Free. |
chargen_quote_background_audio
Quote background audio
Quote the exact Gold price to create sound effects or an ambient audio bed. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_background_audio with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled audio model supporting background-audio; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | oui | The sounds to hear. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model. |
| negative_prompt | string | non | Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument. |
| duration_seconds | integer | non | Audio duration in seconds, where supported. |
chargen_quote_character_sprites
Quote character sprites
Quote the exact Gold price to make animated pixel sprites of a character from one of the user's own still pictures: 10 Gold for each portrait or typed move, 48 Gold for the walk in 4 facings (12 for each facing), 80 Gold for the walk in 8 directions (10 for each facing), and 25 Gold for each facing of a game move. Returns gold_cost and quote_token. It does not place an order or charge Gold. After the user approves, call chargen_generate_character_sprites with the same inputs and the quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source_image_id | string | oui | UUID of one of the user's own still pictures, from chargen_search_gallery. The character is drawn from it. |
| style | enum: "FINE" | "CHUNKY" | non | FINE (the default) draws more detail and adds HD files. CHUNKY draws bigger, simpler pixels. Each style of a picture has its own base sprite. |
| actions | array<enum: "IDLE" | "HELLO" | "ATTACK" | "CAST" | "VICTORY" | "LAUGH" | "DEFEAT" | "ANGRY"> | non | Preset portrait moves, each one at most once, 10 Gold each. actions and custom_actions together hold at most 10 moves. An order needs at least one move from actions, custom_actions, walk_4_facings, walk_8_directions or game_moves. |
| custom_actions | array<string> | non | Moves in the user's own words, for example "raises a glass in a toast". |
| details | array<string> | non | Optional details the picture does not show, for example "a captain's rapier". |
| walk_8_directions | boolean | non | true adds a looping walk in all 8 facings, 80 Gold (10 for each facing). A facing that fails is refunded 10. Give walk_4_facings or walk_8_directions, not both. |
| walk_4_facings | boolean | non | true adds a looping walk in 4 facings, S, E, N and W: 48 Gold (12 for each facing), cut from the same video as the walk in 8 directions. A facing that fails is refunded 12. Give walk_4_facings or walk_8_directions, not both. |
| game_moves | array<object> | non | Game moves, each move at most once, 25 Gold for each facing. At most 24 facings in all. A facing that fails is refunded 25. For a walk, walk_4_facings costs less than the walk game move in the same 4 facings. |
| title | string | non | Optional name for these sprites in the user's library. |
chargen_quote_image_change_subject
Quote change subject
Quote the exact Gold price to transform an owned image's subject. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_change_subject with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| instruction | string | oui | Describe only the change to make, and what to keep the same. |
chargen_quote_image_colorize
Quote colorize
Quote the exact Gold price to colorize an owned image. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_colorize with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| quality | enum: "low" | "medium" | "high" | non | Quality, where supported; higher quality can cost more. |
chargen_quote_image_deblur
Quote deblur
Quote the exact Gold price to reduce blur in an owned image. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_deblur with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
chargen_quote_image_denoise
Quote denoise
Quote the exact Gold price to remove noise from an owned image. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_denoise with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
chargen_quote_image_detail_fix
Quote detail fix
Quote the exact Gold price to repair details in an owned image. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_detail_fix with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| model | string | non | Optional model for this edit; omitted uses the default. |
chargen_quote_image_face_restore
Quote face restore
Quote the exact Gold price to restore faces in an owned image. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_face_restore with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
chargen_quote_image_prompt_edit
Quote prompt edit
Quote the exact Gold price to edit an owned image using a text instruction. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_prompt_edit with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| instruction | string | oui | Describe only the change to make, and what to keep the same. |
| model | string | non | Optional model for this edit; omitted uses the default. |
| quality | enum: "low" | "medium" | "high" | non | Quality, where supported; higher quality can cost more. |
chargen_quote_image_remove_background
Quote remove background
Quote the exact Gold price to remove an owned image's background. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_remove_background with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| model | string | non | Optional model for this edit; omitted uses the default. |
chargen_quote_image_replace_background
Quote replace background
Quote the exact Gold price to replace an owned image's background. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_replace_background with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| instruction | string | oui | Describe only the change to make, and what to keep the same. |
| model | string | non | Optional model for this edit; omitted uses the default. |
| quality | enum: "low" | "medium" | "high" | non | Quality, where supported; higher quality can cost more. |
chargen_quote_image_restore
Quote restore
Quote the exact Gold price to restore an owned photograph. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_restore with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| quality | enum: "low" | "medium" | "high" | non | Quality, where supported; higher quality can cost more. |
chargen_quote_image_sharpen
Quote sharpen
Quote the exact Gold price to sharpen an owned image. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_sharpen with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
chargen_quote_image_to_video
Quote image to video
Quote the exact Gold price to animate an owned gallery image. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_image_to_video with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled video model supporting image-to-video; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | oui | What moves and how, not what the picture already shows. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model. |
| negative_prompt | string | non | Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument. |
| prompt_expansion | boolean | non | Let the video model rewrite and lengthen the prompt before it renders, where the model offers it (chargen_list_media_models shows prompt_expansion in its settings). Off by default; leave it off for a prompt written in full. |
| duration_seconds | integer | non | Video duration in seconds, where supported by the model. |
| aspect_ratio | string | non | Aspect ratio supported by the model, such as 16:9. |
| resolution | string | non | Resolution supported by the model, such as 720p. |
| generate_audio | boolean | non | Generate accompanying audio, where supported. |
| source_image_id | string | oui | Owned still image to animate or use as the portrait. |
| end_image_id | string | non | Optional owned final-frame image. |
chargen_quote_image_upscale
Quote upscale
Quote the exact Gold price to upscale an owned image. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_edit_image_upscale with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_id | string | oui | Owned still image UUID from chargen_search_gallery. Creates a new image. |
| model | string | non | Optional model for this edit; omitted uses the default. Clarity Upscaler, Recraft Creative or Recraft Clarity. |
| upscale_factor | enum: "1.5" | "2" | "3" | "4" | non | Clarity Upscaler scale factor; default 2. |
| creativity | number | non | Clarity Upscaler creativity from 0 to 1. |
chargen_quote_motion_transfer
Quote motion transfer
Quote the exact Gold price to animate an owned image with motion from an owned video. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_motion_transfer with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled video model supporting motion-transfer; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | non | Optional: a short note on what should be seen. |
| duration_seconds | integer | non | Video duration in seconds, where supported by the model. |
| aspect_ratio | string | non | Aspect ratio supported by the model, such as 16:9. |
| resolution | string | non | Resolution supported by the model, such as 720p. |
| source_image_id | string | oui | Owned still image to animate or use as the portrait. |
| video_id | string | oui | Owned gallery video UUID to edit, follow or add sound to. |
chargen_quote_music
Quote music
Quote the exact Gold price to create music, optionally with lyrics. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_music with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled audio model supporting music; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | oui | The musical style: genre, mood, instruments, pace. Words to sing go in lyrics. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model. |
| negative_prompt | string | non | Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument. |
| duration_seconds | integer | non | Audio duration in seconds, where supported. |
| lyrics | string | non | Lyrics for a model that supports singing. |
| instrumental | boolean | non | Create music without vocals, where supported. |
chargen_quote_portrait_audio
Quote portrait audio
Quote the exact Gold price to lip-sync an owned portrait to owned audio. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_portrait_audio with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled video model supporting portrait-audio; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | non | Optional: a short note on what should be seen. |
| duration_seconds | integer | non | Video duration in seconds, where supported by the model. |
| aspect_ratio | string | non | Aspect ratio supported by the model, such as 16:9. |
| resolution | string | non | Resolution supported by the model, such as 720p. |
| source_image_id | string | oui | Owned still image to animate or use as the portrait. |
| audio_id | string | oui | Owned gallery audio UUID to lip-sync. |
chargen_quote_portrait_tts
Quote portrait tts
Quote the exact Gold price to make an owned portrait speak supplied text. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_portrait_tts with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled video model supporting portrait-tts; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | non | Optional: how the portrait looks or moves while it speaks. The words go in speech_text. |
| duration_seconds | integer | non | Video duration in seconds, where supported by the model. |
| aspect_ratio | string | non | Aspect ratio supported by the model, such as 16:9. |
| resolution | string | non | Resolution supported by the model, such as 720p. |
| source_image_id | string | oui | Owned still image to animate or use as the portrait. |
| speech_text | string | oui | Exact words the portrait speaks. |
| voice | string | non | Voice supported by the selected model. |
chargen_quote_recipe_3d_cartoon_diorama
Quote 3d cartoon diorama
Quote the connected account's exact Gold price for the 3d cartoon diorama workflow: turn an owned image into a 3D cartoon diorama. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_3d_cartoon_diorama with the same values and quote_token. For input rules, use chargen_get_recipe_3d_cartoon_diorama.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_anime_style
Quote anime style
Quote the connected account's exact Gold price for the anime style workflow: turn an owned portrait into anime art. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_anime_style with the same values and quote_token. For input rules, use chargen_get_recipe_anime_style.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_art_style_transfer
Quote art style transfer
Quote the connected account's exact Gold price for the art style transfer workflow: restyle an owned image in a selected art style. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_art_style_transfer with the same values and quote_token. For input rules, use chargen_get_recipe_art_style_transfer.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_box_model
Quote box model
Quote the connected account's exact Gold price for the box model workflow: present an owned image's subject as a boxed collectible. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_box_model with the same values and quote_token. For input rules, use chargen_get_recipe_box_model.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_character_production_pack
Quote character production pack
Quote the connected account's exact Gold price for the character production pack workflow: create a coordinated production pack from owned character artwork. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_character_production_pack with the same values and quote_token. For input rules, use chargen_get_recipe_character_production_pack.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_character_progression_pack
Quote character progression pack
Quote the connected account's exact Gold price for the character progression pack workflow: create a character progression pack from owned artwork. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_character_progression_pack with the same values and quote_token. For input rules, use chargen_get_recipe_character_progression_pack.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_character_reference_sheet
Quote character reference sheet
Quote the connected account's exact Gold price for the character reference sheet workflow: create a character reference sheet from owned artwork. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_character_reference_sheet with the same values and quote_token. For input rules, use chargen_get_recipe_character_reference_sheet.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_character_variants
Quote character variants
Quote the connected account's exact Gold price for the character variants workflow: create selected character variations from owned artwork. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_character_variants with the same values and quote_token. For input rules, use chargen_get_recipe_character_variants.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_claymation
Quote claymation
Quote the connected account's exact Gold price for the claymation workflow: restyle an owned image as a claymation scene. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_claymation with the same values and quote_token. For input rules, use chargen_get_recipe_claymation.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_creature_reference_pack
Quote creature reference pack
Quote the connected account's exact Gold price for the creature reference pack workflow: create a creature reference pack from owned artwork. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_creature_reference_pack with the same values and quote_token. For input rules, use chargen_get_recipe_creature_reference_pack.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_faction_heraldry_kit
Quote faction heraldry kit
Quote the connected account's exact Gold price for the faction heraldry kit workflow: create faction heraldry from an owned reference image. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_faction_heraldry_kit with the same values and quote_token. For input rules, use chargen_get_recipe_faction_heraldry_kit.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_fantasy_bestiary_page
Quote fantasy bestiary page
Quote the connected account's exact Gold price for the fantasy bestiary page workflow: turn an owned creature image into a fantasy bestiary page. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_fantasy_bestiary_page with the same values and quote_token. For input rules, use chargen_get_recipe_fantasy_bestiary_page.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_location_variants
Quote location variants
Quote the connected account's exact Gold price for the location variants workflow: create location variations from owned artwork. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_location_variants with the same values and quote_token. For input rules, use chargen_get_recipe_location_variants.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_magic_item_showcase
Quote magic item showcase
Quote the connected account's exact Gold price for the magic item showcase workflow: create a magic item showcase from an owned reference image. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_magic_item_showcase with the same values and quote_token. For input rules, use chargen_get_recipe_magic_item_showcase.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_monster_variant_sheet
Quote monster variant sheet
Quote the connected account's exact Gold price for the monster variant sheet workflow: create a set of monster variations from an owned creature image. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_monster_variant_sheet with the same values and quote_token. For input rules, use chargen_get_recipe_monster_variant_sheet.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_photo_to_dnd_character
Quote photo to dnd character
Quote the connected account's exact Gold price for the photo to dnd character workflow: turn an owned portrait into a fantasy roleplaying character. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_photo_to_dnd_character with the same values and quote_token. For input rules, use chargen_get_recipe_photo_to_dnd_character.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_plushie
Quote plushie
Quote the connected account's exact Gold price for the plushie workflow: turn an owned image's subject into a plush toy illustration. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_plushie with the same values and quote_token. For input rules, use chargen_get_recipe_plushie.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_product_photography
Quote product photography
Quote the connected account's exact Gold price for the product photography workflow: create product photography from an owned product image. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_product_photography with the same values and quote_token. For input rules, use chargen_get_recipe_product_photography.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_rpg_character_asset_pack
Quote rpg character asset pack
Quote the connected account's exact Gold price for the rpg character asset pack workflow: create a roleplaying character asset pack from owned artwork. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_rpg_character_asset_pack with the same values and quote_token. For input rules, use chargen_get_recipe_rpg_character_asset_pack.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_rpg_sprite_sheet
Quote rpg sprite sheet
Quote the connected account's exact Gold price for the rpg sprite sheet workflow: create a roleplaying sprite sheet from owned character artwork. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_rpg_sprite_sheet with the same values and quote_token. For input rules, use chargen_get_recipe_rpg_sprite_sheet.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_sketch_to_battlemap
Quote sketch to battlemap
Quote the connected account's exact Gold price for the sketch to battlemap workflow: develop an owned sketch into a battlemap. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_sketch_to_battlemap with the same values and quote_token. For input rules, use chargen_get_recipe_sketch_to_battlemap.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_sketch_to_image
Quote sketch to image
Quote the connected account's exact Gold price for the sketch to image workflow: develop an owned sketch into a finished illustration. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_sketch_to_image with the same values and quote_token. For input rules, use chargen_get_recipe_sketch_to_image.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_storybook_animation
Quote storybook animation
Quote the connected account's exact Gold price for the storybook animation workflow: restyle an owned image as a storybook animation illustration. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_storybook_animation with the same values and quote_token. For input rules, use chargen_get_recipe_storybook_animation.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_tarot_card
Quote tarot card
Quote the connected account's exact Gold price for the tarot card workflow: turn an owned image's subject into a tarot card. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_tarot_card with the same values and quote_token. For input rules, use chargen_get_recipe_tarot_card.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_tavern_menu
Quote tavern menu
Quote the connected account's exact Gold price for the tavern menu workflow: create a tavern menu lettered with tavernName and dishes (one dish and its price per line, up to four), optionally from an owned tavern image. Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_tavern_menu with the same values and quote_token. For input rules, use chargen_get_recipe_tavern_menu.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_recipe_wanted_poster
Quote wanted poster
Quote the connected account's exact Gold price for the wanted poster workflow: turn an owned character portrait into a wanted poster lettered with posterName and bounty (bounty is 500 GOLD when empty). Returns gold_cost, affordable and quote_token without starting a run, moderating, charging Gold or consuming a free sheet. After the user approves the price, call chargen_run_recipe_wanted_poster with the same values and quote_token. For input rules, use chargen_get_recipe_wanted_poster.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
chargen_quote_reference_to_video
Quote reference to video
Quote the exact Gold price to create a video using owned image, audio or video references. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_reference_to_video with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled video model supporting reference-to-video; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | oui | What happens in the video, written for the chosen model. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model. |
| duration_seconds | integer | non | Video duration in seconds, where supported by the model. |
| aspect_ratio | string | non | Aspect ratio supported by the model, such as 16:9. |
| resolution | string | non | Resolution supported by the model, such as 720p. |
| generate_audio | boolean | non | Generate accompanying audio, where supported. |
| reference_image_ids | array<string> | non | Owned reference image UUIDs, where supported. Reference-to-video needs at least one image, audio or video reference; model-specific source counts are validated by the media policy. |
| audio_id | string | non | Optional owned gallery reference audio UUID, where supported by the model. |
| video_id | string | non | Optional owned gallery reference video UUID, where supported by the model. |
chargen_quote_session_log
Quote a session log
Validate a DM-approved prose summary (200 to 20000 characters), resolve the session number and show the price (free at Standard quality on any paid plan) without creating a session. After the user approves the summary, call chargen_create_session_log.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| summary | string | oui | DM-approved prose summary of the session, 200 to 20000 characters. Name the NPCs, places and items that mattered. |
| session_number | integer | non | Session number to backfill. Omit to append after the latest session. |
| name | string | non | Session title |
| recorded_at | string | non | When the session was played, ISO date (YYYY-MM-DD). Omit for now. |
| notes | string | non | DM prep notes (extraction context, not part of the summary) |
chargen_quote_sprite_effect
Quote sprite effect
Quote the exact Gold price to make an animated pixel sprite effect, for example a fireball or a healing light: 10 Gold for the first part and 8 for each more part. Returns gold_cost and quote_token. It does not place an order or charge Gold. After the user approves, call chargen_generate_sprite_effect with the same inputs and the quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| preset | enum: "explosion" | "aura" | "fireball" | "lightning" | "frostnova" | "slash" | "necrotic" | "heal" … | non | One of CharGen's effects. Give preset or description, not both. |
| description | string | non | The effect in the user's own words, in place of preset. |
| parts | array<enum: "SPARK" | "BLAST" | "SMOKE" | "RISES" | "PULSES" | "FADES" | "FORMING" | "FLYING" …> | non | The parts to draw, by key, each one at most once. With a preset, its own parts (explosion: SPARK, BLAST, SMOKE; aura: RISES, PULSES, FADES; fireball: FORMING, FLYING, BURST; lightning: GATHERS, STRIKE, SCORCH; frostnova: GATHERS, BURST, LINGERS; slash: CHARGE, SLASH, SMALL_HIT; necrotic: GATHERS, B… |
| custom_parts | array<object> | non | Parts in the user's own words. |
| element | enum: "FIRE" | "ICE" | "LIGHTNING" | "POISON" | "HOLY" | "DARK" | "ARCANE" | "NATURE" | non | Optional element or colour that every part is drawn in. |
| reference_set_id | string | non | Optional set_id of one of the user's character sprite sets (chargen_get_job shows set_id). The effect is drawn in the colours of that character's Cast move, or of its base sprite. |
| title | string | non | Optional name for these sprites in the user's library. |
chargen_quote_sprite_item
Quote sprite item
Quote the exact Gold price to make an animated pixel sprite item, for example a potion or a key: 10 Gold for the first part and 8 for each more part. Returns gold_cost and quote_token. It does not place an order or charge Gold. After the user approves, call chargen_generate_sprite_item with the same inputs and the quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| preset | enum: "gem" | "heart" | "healthpotion" | "manapotion" | "coin" | "chest" | "sword" | "ring" … | non | One of CharGen's items. Give preset or description, not both. |
| description | string | non | The item in the user's own words, in place of preset. |
| parts | array<enum: "SPINS" | "SHINES" | "COLLECTED" | "BEATS" | "POPS" | "BUBBLES" | "DRUNK" | "HEALS" …> | non | The parts to draw, by key, each one at most once. With a preset, its own parts (gem: SPINS, SHINES, COLLECTED; heart: BEATS, POPS, COLLECTED; healthpotion: BUBBLES, DRUNK, HEALS; manapotion: SWIRLS, DRUNK, GLOWS; coin: SPINS, FLIPS, SHINES; chest: SHINES, RATTLES, OPENS; sword: GLOWS, FLARES, DIMS;… |
| custom_parts | array<object> | non | Parts in the user's own words. |
| element | enum: "FIRE" | "ICE" | "LIGHTNING" | "POISON" | "HOLY" | "DARK" | "ARCANE" | "NATURE" | non | Optional element or colour that every part is drawn in. |
| reference_image_id | string | non | Optional UUID of one of the user's own still pictures, from chargen_search_gallery. The item is drawn from it. |
| title | string | non | Optional name for these sprites in the user's library. |
chargen_quote_text_to_video
Quote text to video
Quote the exact Gold price to create a video from a text description. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_text_to_video with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled video model supporting text-to-video; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | oui | What happens in the video, written for the chosen model. chargen_list_media_models with this mode says how to phrase it for each model (prompt_styles); nothing improves the wording on the way to the model. |
| negative_prompt | string | non | Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument. |
| prompt_expansion | boolean | non | Let the video model rewrite and lengthen the prompt before it renders, where the model offers it (chargen_list_media_models shows prompt_expansion in its settings). Off by default; leave it off for a prompt written in full. |
| duration_seconds | integer | non | Video duration in seconds, where supported by the model. |
| aspect_ratio | string | non | Aspect ratio supported by the model, such as 16:9. |
| resolution | string | non | Resolution supported by the model, such as 720p. |
| generate_audio | boolean | non | Generate accompanying audio, where supported. |
| audio_id | string | non | Optional owned gallery reference audio UUID, where supported by the model. |
| video_id | string | non | Optional owned gallery reference video UUID, where supported by the model. |
chargen_quote_tts
Quote tts
Quote the exact Gold price to speak the exact supplied text. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_tts with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | non | Enabled audio model supporting tts; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | oui | The exact words to speak. Speech is priced per 1,000 characters. |
| voice | string | non | Voice supported by the selected model. |
chargen_quote_video_edit
Quote video edit
Quote the exact Gold price to edit an owned gallery video. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_video_edit with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled video model supporting video-edit; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | oui | The change to make to the video. |
| duration_seconds | integer | non | Video duration in seconds, where supported by the model. |
| aspect_ratio | string | non | Aspect ratio supported by the model, such as 16:9. |
| resolution | string | non | Resolution supported by the model, such as 720p. |
| generate_audio | boolean | non | Generate accompanying audio, where supported. |
| reference_image_ids | array<string> | non | Owned reference image UUIDs, where supported. Reference-to-video needs at least one image, audio or video reference; model-specific source counts are validated by the media policy. |
| audio_id | string | non | Optional owned gallery reference audio UUID, where supported by the model. |
| swap_target | string | non | OpenJutsu Object Swap only, and required there: the thing in the video to change, such as hair, jacket or car (a comma list is allowed). In Background mode, the thing to keep. |
| swap_mode | enum: "Change" | "Background" | non | OpenJutsu Object Swap only: Change (default) changes the target into what the prompt or the reference image describes; Background keeps the target and changes everything around it. |
| video_id | string | oui | Owned gallery video UUID to edit, follow or add sound to. |
chargen_quote_video_to_audio
Quote video to audio
Quote the exact Gold price to create sound for an owned gallery video. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_video_to_audio with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled audio model supporting video-to-audio; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | non | The sounds to add to the video. Optional when the chosen model supports video-derived sound without text; otherwise required. |
| negative_prompt | string | non | Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument. |
| duration_seconds | integer | non | Audio duration in seconds, where supported. |
| video_id | string | oui | Owned gallery video UUID to edit, follow or add sound to. |
chargen_quote_video_to_video
Quote video to video
Quote the exact Gold price to create a new soundtrack on a copy of an owned gallery video. Returns gold_cost and quote_token without starting a job or charging Gold. After the user approves, call chargen_generate_video_to_video with the same inputs and quote_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Enabled audio model supporting video-to-video; chargen_list_media_models can help choose a model. This never changes the operation. |
| prompt | string | non | The sounds to add to the video. Optional when the chosen model supports video-derived sound without text; otherwise required. |
| negative_prompt | string | non | Things to keep out of the result, as a short list. Only some models take one: chargen_list_media_models shows negative_prompt in that model's settings, and any other model refuses this argument. |
| duration_seconds | integer | non | Audio duration in seconds, where supported. |
| video_id | string | oui | Owned gallery video UUID to edit, follow or add sound to. |
chargen_reference_codex_collection
Link Codex folder to campaign
Graft a World Codex folder (and its subtree) into a campaign workspace as a LIVE reference - codex edits keep showing through. Idempotent. The returned ref_row_id removes the graft later via chargen_delete_collection without touching the codex original.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| codex_collection_id | string | oui | World Codex collection UUID to graft (campaign workspace folders are rejected) |
chargen_relate_generations
Relate generations
Create a typed relationship between two of the user's GENERATIONS, e.g. an NPC WORKS_AT a tavern. Directional: source -> target. Suggested types: CONTAINS, LOCATED_IN, MEMBER_OF, RULES, SERVES, ALLIED_WITH, RIVAL_OF, OWNS, WORKS_AT (any short label works). This is the generation library graph - for the campaign co-occurrence graph see chargen_get_relationship_graph, which is read-only. Use chargen_remove_generation_relationship with a relationship_id to remove an edge.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source_generation_id | string | oui | Source generation UUID |
| target_generation_id | string | oui | Target generation UUID |
| relationship_type | string | oui | Relationship label, e.g. WORKS_AT (max 128 chars, stored uppercase) |
| description | string | non | Optional description |
chargen_remove_collection_item
Remove item from folder
Unfile one item from a folder. item_id is the item ROW id from chargen_get_collection (NOT the entity/generation id). Removing an item never deletes the underlying content, it only takes it out of the folder.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| collection_id | string | oui | Folder UUID |
| item_id | string | oui | Item ROW UUID from chargen_get_collection's items[].id |
chargen_remove_generation_relationship
Remove generation relationship
Delete one typed relationship you own from the generation library graph. Pass the relationship_id from chargen_relate_generations or the relationships returned by chargen_get_generation. Deletes only the edge, preserving both generations. This does not modify the campaign co-occurrence graph.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| relationship_id | string | oui | Relationship UUID to remove |
chargen_rename_speaker
Rename session speakers
Renames speakers in a session's transcript, then writes the recap again. This replaces the recap, any hand edits to it and the storyboard. DM notes are kept. When the recap has hand edits, pass replace_recap_edits: true to confirm. Needs a session that has a transcript.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| session_id | string | oui | Session UUID |
| assignments | object | oui | Speaker label -> campaign player UUID |
| replace_recap_edits | boolean | non | Set true to confirm that the new recap replaces the recap's hand edits and the storyboard |
chargen_run_recipe_3d_cartoon_diorama
Run 3d cartoon diorama
Start the 3d cartoon diorama workflow: turn an owned image into a 3D cartoon diorama. First call chargen_quote_recipe_3d_cartoon_diorama, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_3d_cartoon_diorama. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_3d_cartoon_diorama. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_anime_style
Run anime style
Start the anime style workflow: turn an owned portrait into anime art. First call chargen_quote_recipe_anime_style, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_anime_style. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_anime_style. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_art_style_transfer
Run art style transfer
Start the art style transfer workflow: restyle an owned image in a selected art style. First call chargen_quote_recipe_art_style_transfer, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_art_style_transfer. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_art_style_transfer. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_box_model
Run box model
Start the box model workflow: present an owned image's subject as a boxed collectible. First call chargen_quote_recipe_box_model, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_box_model. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_box_model. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_character_production_pack
Run character production pack
Start the character production pack workflow: create a coordinated production pack from owned character artwork. First call chargen_quote_recipe_character_production_pack, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_character_production_pack. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_character_production_pack. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_character_progression_pack
Run character progression pack
Start the character progression pack workflow: create a character progression pack from owned artwork. First call chargen_quote_recipe_character_progression_pack, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_character_progression_pack. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_character_progression_pack. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_character_reference_sheet
Run character reference sheet
Start the character reference sheet workflow: create a character reference sheet from owned artwork. First call chargen_quote_recipe_character_reference_sheet, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_character_reference_sheet. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_character_reference_sheet. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_character_variants
Run character variants
Start the character variants workflow: create selected character variations from owned artwork. First call chargen_quote_recipe_character_variants, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_character_variants. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_character_variants. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_claymation
Run claymation
Start the claymation workflow: restyle an owned image as a claymation scene. First call chargen_quote_recipe_claymation, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_claymation. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_claymation. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_creature_reference_pack
Run creature reference pack
Start the creature reference pack workflow: create a creature reference pack from owned artwork. First call chargen_quote_recipe_creature_reference_pack, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_creature_reference_pack. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_creature_reference_pack. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_faction_heraldry_kit
Run faction heraldry kit
Start the faction heraldry kit workflow: create faction heraldry from an owned reference image. First call chargen_quote_recipe_faction_heraldry_kit, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_faction_heraldry_kit. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_faction_heraldry_kit. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_fantasy_bestiary_page
Run fantasy bestiary page
Start the fantasy bestiary page workflow: turn an owned creature image into a fantasy bestiary page. First call chargen_quote_recipe_fantasy_bestiary_page, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_fantasy_bestiary_page. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_fantasy_bestiary_page. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_location_variants
Run location variants
Start the location variants workflow: create location variations from owned artwork. First call chargen_quote_recipe_location_variants, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_location_variants. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_location_variants. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_magic_item_showcase
Run magic item showcase
Start the magic item showcase workflow: create a magic item showcase from an owned reference image. First call chargen_quote_recipe_magic_item_showcase, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_magic_item_showcase. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_magic_item_showcase. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_monster_variant_sheet
Run monster variant sheet
Start the monster variant sheet workflow: create a set of monster variations from an owned creature image. First call chargen_quote_recipe_monster_variant_sheet, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_monster_variant_sheet. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_monster_variant_sheet. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_photo_to_dnd_character
Run photo to dnd character
Start the photo to dnd character workflow: turn an owned portrait into a fantasy roleplaying character. First call chargen_quote_recipe_photo_to_dnd_character, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_photo_to_dnd_character. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_photo_to_dnd_character. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_plushie
Run plushie
Start the plushie workflow: turn an owned image's subject into a plush toy illustration. First call chargen_quote_recipe_plushie, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_plushie. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_plushie. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_product_photography
Run product photography
Start the product photography workflow: create product photography from an owned product image. First call chargen_quote_recipe_product_photography, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_product_photography. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_product_photography. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_rpg_character_asset_pack
Run rpg character asset pack
Start the rpg character asset pack workflow: create a roleplaying character asset pack from owned artwork. First call chargen_quote_recipe_rpg_character_asset_pack, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_rpg_character_asset_pack. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_rpg_character_asset_pack. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_rpg_sprite_sheet
Run rpg sprite sheet
Start the rpg sprite sheet workflow: create a roleplaying sprite sheet from owned character artwork. First call chargen_quote_recipe_rpg_sprite_sheet, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_rpg_sprite_sheet. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_rpg_sprite_sheet. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_sketch_to_battlemap
Run sketch to battlemap
Start the sketch to battlemap workflow: develop an owned sketch into a battlemap. First call chargen_quote_recipe_sketch_to_battlemap, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_sketch_to_battlemap. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_sketch_to_battlemap. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_sketch_to_image
Run sketch to image
Start the sketch to image workflow: develop an owned sketch into a finished illustration. First call chargen_quote_recipe_sketch_to_image, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_sketch_to_image. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_sketch_to_image. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_storybook_animation
Run storybook animation
Start the storybook animation workflow: restyle an owned image as a storybook animation illustration. First call chargen_quote_recipe_storybook_animation, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_storybook_animation. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_storybook_animation. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_tarot_card
Run tarot card
Start the tarot card workflow: turn an owned image's subject into a tarot card. First call chargen_quote_recipe_tarot_card, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_tarot_card. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_tarot_card. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_tavern_menu
Run tavern menu
Start the tavern menu workflow: create a tavern menu lettered with tavernName and dishes (one dish and its price per line, up to four), optionally from an owned tavern image. First call chargen_quote_recipe_tavern_menu, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_tavern_menu. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_tavern_menu. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_run_recipe_wanted_poster
Run wanted poster
Start the wanted poster workflow: turn an owned character portrait into a wanted poster lettered with posterName and bounty (bounty is 500 GOLD when empty). First call chargen_quote_recipe_wanted_poster, confirm its Gold price with the user, then pass the quote_token here with the same values. Eligible reference sheets can be free; other runs spend the quoted Gold. Returns request_id; poll chargen_get_job for all output images. For input rules, use chargen_get_recipe_wanted_poster. An identical call within about 10 minutes returns the earlier request instead of charging again; pass a new idempotency_key when the user wants another take with the same settings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| values | object | oui | Workflow inputs. Quote and run with identical values. |
| quote_token | string | non | Approved quote_token from chargen_quote_recipe_wanted_poster. Changed inputs or pricing fail without charging. |
| idempotency_key | string | non | Optional retry key (letters, numbers, - and _). Reusing it returns the same request without a new charge; a new key makes a new take with the same settings. |
chargen_save_campaign_npc
Save campaign NPC
Save a D&D or Savage Worlds NPC written in this conversation to an existing NPC in a campaign you own. Show the complete draft first and call this only after the GM explicitly asks to save it. The draft creates a private NPC library entry and links it to the selected campaign entity for 0 Gold. No portrait or AI generation runs. Retrying the same draft returns its saved ID and the original campaign_entity_id, even if the GM later removed the link. Use chargen_generate_npc to ask CharGen to generate an NPC. Requires a paid CharGen account and the mcp:write scope.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | UUID of the campaign you own |
| entity_id | string | oui | UUID of an existing NPC entity in that campaign |
| draft | object | oui | Complete NPC draft approved by the GM. Use the selected campaign NPC's name. |
chargen_search_campaign
Search a campaign
Text search within one campaign across world-graph entities and aliases, quests, threads, recap NPCs/monsters/locations/items and transcripts. Returns typed hits with excerpts.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| q | string | oui | Search text (min 2 characters) |
| cursor | string | non | Opaque cursor from the previous page's nextCursor |
| limit | integer | non | Max items to return (default 25, max 100) |
chargen_search_gallery
Search image gallery
Search your gallery of images, videos, audio and 3D models: returns image_id, media_type, URLs, titles and source metadata. Filter with media_type; a 3D model (media_type model_3d) also carries model_url and model_format, and its image_id is the model_id the 3D tools take. Never returns file bytes.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| q | string | non | Search text |
| media_type | enum: "image" | "video" | "audio" | "model_3d" | non | Only return this kind of gallery item. |
| cursor | string | non | Opaque cursor from the previous page's nextCursor |
| limit | integer | non | Max items to return (at most 25, the default); page with nextCursor for more. |
chargen_track_entity
Track world entity
Add a bare tracked entry (name + optional note) to a campaign's world graph - NO AI content is generated. For a full AI-written NPC, monster, quest etc. with stats and a portrait, use a fixed generation tool such as chargen_generate_npc or chargen_generate_monster instead. A matching entry may have its name, pin state or status updated; new description and note text is appended.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| entity_type | string | oui | NPC, MONSTER, LOCATION, FACTION or ITEM |
| display_name | string | oui | Entity name |
| description | string | non | Optional description |
| notes | string | non | Optional DM notes |
chargen_undo_entity_merge
Undo world entity merge
Reverse one recorded world-graph entity merge in a campaign you own. Pass the merge_id from chargen_merge_entities or chargen_list_entity_merges. Restores the archived source and moves recorded links back. Also reverses session renames recorded with that merge_id; subsequently edited text is skipped and reported in skipped_renames.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| merge_id | string | oui | Recorded merge UUID to undo |
chargen_update_collection
Update folder
Rename, reorder or move a folder: name/description edit, display_order to reorder among siblings, parent_collection_id to nest under another folder, clear_parent=true to move back to the root. Grafted codex references (ref_row_id rows) can be renamed and reordered but never moved. Supplied name and description values replace the stored values. An Atlas place (place=true) moves only under another place of its own atlas, and an atlas root stays at the top level.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| collection_id | string | oui | Collection UUID |
| name | string | non | New name |
| description | string | non | New description |
| display_order | integer | non | New sort position among siblings (lower sorts first) |
| parent_collection_id | string | non | Move under this folder UUID |
| clear_parent | boolean | non | true moves the folder back to the root (mutually exclusive with parent_collection_id) |
chargen_update_entity
Update world entity
Update a world-graph entity: notes, description, status (TRACKED / ARCHIVED) and pin. Manage alias spellings with add_aliases / remove_aliases - aliases teach session processing which names map to this entity.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| entity_id | string | oui | Entity UUID |
| display_name | string | non | New display name |
| description | string | non | New description |
| notes | string | non | DM notes |
| pinned | boolean | non | Pin this entity |
| status | string | non | TRACKED, CANDIDATE or ARCHIVED |
| add_aliases | array<string> | non | Alias spellings to add - teaches session processing to map these names to this entity in FUTURE sessions (use for recurring mispronunciations) |
| remove_aliases | array<string> | non | Existing alias strings to remove (case-insensitive match) |
chargen_update_generation
Edit generation
Edit fields of a GENERATION's output (a saved library item), e.g. fix a name or rewrite a backstory. Pass changes as {field_path: new value} using paths from chargen_get_generation's output (dots and [index] for lists, e.g. "inventory[2].name"). Paths must already exist. Requires a plan above Basic. Concurrent edits in the app can race this tool (last write wins). For campaign-tracked entities use chargen_update_entity instead. Generation library items are public by default, so edits may be visible in public CharGen browsing; visibility can be changed in CharGen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| generation_id | string | oui | Generation UUID |
| changes | object | oui | Map of field_path -> new value, e.g. {"personality": "kindly", "quirks[1]": "whistles"} |
chargen_update_quest
Update quest
Update a quest: status, next actions, rewards, resolution. Provide progress_note to append a progress-log entry.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| quest_id | string | oui | Quest UUID |
| status | string | non | Quest status |
| next_actions | string | non | What the party should do next |
| rewards | string | non | Rewards |
| resolution | string | non | How it resolved |
| progress_note | string | non | Append this to the progress log |
chargen_update_recap
Edit session recap
Edit a session recap: full / short / spoiler-free summaries and DM notes. Only the fields you pass are changed; the recap is flagged as edited.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| recap_id | string | oui | Recap UUID |
| full_summary | string | non | Full plot summary |
| short_summary | string | non | Short summary |
| spoiler_free_summary | string | non | Spoiler-free player recap |
| dm_notes | string | non | DM notes |
chargen_update_thread
Update plot thread
Update a plot thread: set status/severity, add a note, or promote it into a full quest.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | Campaign UUID |
| thread_id | string | oui | Thread UUID |
| status | string | non | OPEN, RESOLVED or ABANDONED |
| severity | string | non | Thread severity |
| note | string | non | Append this note to the thread |
| promote | boolean | non | Promote this thread into a quest |
| promote_title | string | non | Title for the promoted quest |
chargen_usage_guide
CharGen usage guide
The CharGen playbook, by area. With no topic: the overview (how the tools compose, what is free and what costs gold, job polling, error handling) and the list of area guides. With a topic: that area's guide, such as world building, sessions, or art with how to write prompts for each image, video and audio model. Call this once when you first work with CharGen tools in a conversation, or whenever unsure which tool fits.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| topic | enum: "overview" | "worldbuilding" | "sessions" | "art" | "art_images" | "art_video" | "art_audio" | "art_3d" | non | Which guide to read; leave out for the overview. overview: what CharGen is, what is free and what costs Gold, job polling, errors, and this list. worldbuilding: the content generators, saving and editing library entries, the world graph, folders and workspaces. sessions: reading recaps and transcri… |
chargen_whoami
Show connected account
Who is connected: account email/display name, balance (gold or USD wallet), tier and unlocked capabilities.
Aucun paramètre.
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://api.char-gen.com/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http chargen https://api.char-gen.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : chargen ; URL : https://api.char-gen.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : chargen ; Server URL : https://api.char-gen.com/mcp ; Create as a plugin{
"mcpServers": {
"chargen": {
"url": "https://api.char-gen.com/mcp"
}
}
}{
"mcpServers": {
"chargen": {
"type": "http",
"url": "https://api.char-gen.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"chargen": {
"url": "https://api.char-gen.com/mcp"
}
}
}{
"mcpServers": {
"chargen": {
"httpUrl": "https://api.char-gen.com/mcp"
}
}
}[mcp_servers.chargen]
url = "https://api.char-gen.com/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
CharGen · L’Atlas · Test du
[CharGen — L’Atlas](https://latlas.dev/mcp/com.char-gen/chargen)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.