CharGen MCP server
Endpoint: https://api.char-gen.com/mcp · Authentication: Sign in with OAuth
Manage tabletop RPG campaigns and worldbuilding records, and generate text and media. Connect with OAuth or a CharGen personal access token.
How do I authenticate?
Add the endpoint in your client, start Connect or Sign in, approve the requested scopes, and return to the client. OAuth discovery finds the authorization server; client registration requirements vary by provider. Follow the provider guidance and client setup below.
Authentication and connection guideConnection specification
- Remote endpoint
https://api.char-gen.com/mcp- Browser access
- Not yet measured
- Declared MCP transport
- Streamable HTTP
- Live-validated MCP transport
- Not yet verified — Latest validation did not verify a transport
- Declared authentication
- OAuth 2.1
- Detected authentication
- OAuth 2.1 detected or retained from publisher evidence
- Alternative authentication
- Bearer token
- Protocol lifecycle
- Not yet negotiated
- Authorization server
https://api.char-gen.com- Category
- Design
Product documentation · Official listing documentation · ChatGPT app directory listing
Provider guidance
- A direct anonymous session negotiated MCP 2025-11-25 and listed tools. The default validator received an OAuth challenge.
More Design MCP servers · Browse all MCP servers · Test this endpoint in the MCP Playground
Connect it
Live-validated endpoint: https://api.char-gen.com/mcp · Streamable HTTP. Registration requirements not verified: The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks.
Agent prompt for Claude Code or Codex
Add the CharGen MCP server to my MCP client configuration and verify that it works. What it is: Manage tabletop RPG campaigns and worldbuilding records, and generate text and media. Connect with OAuth or a CharGen personal access token. Server URL: https://api.char-gen.com/mcp Transport: Streamable HTTP (remote MCP server, no local install). Authentication: OAuth 2.1. Registration requirements not verified: The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks. Tools (25, as last observed by mcptest): chargen_add_collection_item, chargen_apply_find_replace, chargen_attach_image, chargen_create_collection, chargen_create_hook, chargen_create_quest, chargen_create_session_log, chargen_dedupe_candidates, chargen_delete_collection, chargen_delete_recap_entry, chargen_edit_3d_animate, chargen_edit_3d_cleanup, chargen_edit_3d_rig, chargen_edit_3d_split, chargen_edit_3d_uv, chargen_edit_image_change_subject, chargen_edit_image_colorize, chargen_edit_image_deblur, chargen_edit_image_denoise, chargen_edit_image_detail_fix, chargen_edit_image_face_restore, chargen_edit_image_prompt_edit, chargen_edit_image_remove_background, chargen_edit_image_replace_background, chargen_edit_image_restore. Reference: https://mcptest.io/servers/char-gen/ Steps: 1. Work out which MCP client I use (Claude Code, Codex, Cursor, VS Code or another) and add the server under the name "char-gen" in that client's MCP configuration, user scope unless I ask otherwise. Claude Code: claude mcp add --transport http --scope user 'char-gen' 'https://api.char-gen.com/mcp' Other clients: use the setup for that client on the reference page. 2. Never write a credential value into a file that could be committed; reference an environment variable or the client's secret store, and ask me for any value you need. 3. Verify: connect to the server and call tools/list. Confirm the tools above are listed, and report any sign-in step I still have to complete.
Claude Code setup
Run in a terminal. This user-scoped entry is available across projects.
claude mcp add --transport http --scope user 'char-gen' 'https://api.char-gen.com/mcp'- After adding the server, open Claude Code, run /mcp, select the server, and follow the browser flow to authenticate.
Codex CLI setup
Run in a terminal; Codex stores the entry in ~/.codex/config.toml.
codex mcp add 'char-gen' --url 'https://api.char-gen.com/mcp'
codex mcp login 'char-gen'Cursor setup
Add to .cursor/mcp.json for this project, or ~/.cursor/mcp.json for all projects.
{
"mcpServers": {
"char-gen": {
"url": "https://api.char-gen.com/mcp"
}
}
}VS Code setup
Add to .vscode/mcp.json, or run “MCP: Open User Configuration” for a private user-level entry.
{
"servers": {
"char-gen": {
"type": "http",
"url": "https://api.char-gen.com/mcp"
}
}
}Claude setup
Add the endpoint above in Claude:
- Customize > Connectors > Add custom connector
- Team/Enterprise: Organization settings > Connectors > Add > Custom > Web
Claude Desktop setup
Add the endpoint above in Claude Desktop:
- Remote: Customize > Connectors (same as claude.ai)
- Local: Settings > Developer > Edit Config, or Settings > Extensions for .mcpb files
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows), local servers only
ChatGPT setup
Add the endpoint above in ChatGPT:
- ChatGPT web: Plugins > Add custom MCP server, then configure authentication and accept the risk warning
Windsurf setup
Add the endpoint above in Windsurf:
~/.config/devin/mcp_config.json(%APPDATA%\devin\mcp_config.jsonon Windows),serverUrlorurl- Cascade panel > ... > MCPs > Open MCP config file
Gemini CLI setup
Add the endpoint above in Gemini CLI:
gemini mcp add --transport http <name> <url>~/.gemini/settings.json(user) or.gemini/settings.json(project),mcpServers
MCP SDK setup
Add the endpoint above in MCP SDK:
- Programmatic:
new Client(...).connect(new StreamableHTTPClientTransport(url))
Notes for every client
- Publisher evidence (reviewed 2026-11-25): https://char-gen.com/llms.txt
- Optional bearer token alternative: Store CHAR_GEN_TOKEN in your operating system keychain, secret manager, or protected environment; never commit the value. The Authorization header syntax is Bearer <CHAR_GEN_TOKEN>.
- Provider guidance: A direct anonymous session negotiated MCP 2025-11-25 and listed tools. The default validator received an OAuth challenge.
Client compatibility
| Client | Status | Why |
|---|---|---|
| Claude Code | Supported | Claude Code supports Streamable HTTP servers and OAuth sign-in or bearer-token headers. |
| Codex | Supported | Codex supports Streamable HTTP servers and OAuth sign-in or bearer-token headers. |
| Cursor | Supported | Cursor supports Streamable HTTP servers and OAuth sign-in or bearer-token headers. |
| VS Code | Supported | VS Code supports Streamable HTTP servers and OAuth sign-in or bearer-token headers. |
| Claude | Supported | Claude supports Streamable HTTP servers and OAuth sign-in or bearer-token headers. |
| Claude Desktop | Supported | Claude Desktop supports Streamable HTTP servers and OAuth sign-in or bearer-token headers. |
| ChatGPT | Supported | ChatGPT supports Streamable HTTP servers and OAuth sign-in or bearer-token headers. |
| Windsurf | Supported | Windsurf supports Streamable HTTP servers and OAuth sign-in or bearer-token headers. |
| Gemini CLI | Supported | Gemini CLI supports Streamable HTTP servers and OAuth sign-in or bearer-token headers. |
| MCP SDK | Supported | MCP SDK supports Streamable HTTP servers and OAuth sign-in or bearer-token headers. |
Computed from this server's validated transport, protocol and authentication against documented client support. Checks the catalog has not observed are not counted.
Latest validation evidence
- Validation status
- Online when last tested
- Validation checked at
- Nov 25, 2026 at 10:23 AM
- Validation detail
- Authentication challenge at https://api.char-gen.com/mcp returned HTTP 401; endpoint was reachable but did not complete an MCP probe; authentication oauth
Tool inventory
What the catalog validator observed on at https://api.char-gen.com/mcp without credentials. The live server may have changed since; connect in the Playground for the current list.
Tools provided by CharGen 226
25 of 226 shown; 201 omitted to keep the page bounded.
chargen_add_collection_itemoutputSchema declaredFile 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
Input
campaign_id?: string, collection_id: string, item_type?: string, note?: string, pinned?: boolean, sort_order?: integer, target_id: stringcampaign_id?: stringoptionalRequired when filing CAMPAIGN_ENTITY/DOCUMENT/SESSION/VIDEO_PROJECT into a codex folder the campaign references (routes into that campaign's overlay)
collection_id: stringrequiredFolder UUID
item_type?: stringoptionalType of target_id (default GENERATION_ENTITY)
note?: stringoptionalOptional note on the filed item
pinned?: booleanoptionalPin the item to the top of the folder
sort_order?: integeroptionalOptional sort position within the folder (lower sorts first)
target_id: stringrequiredUUID of the item to file (generation, campaign entity, document, session, image or completed film)
chargen_apply_find_replaceoutputSchema declaredReplace 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.
Input
confirm: boolean, find: string, merge_id?: string, replace?: string, session_id: stringconfirm: booleanrequiredMust be true to apply
find: stringrequiredText to find
merge_id?: stringoptionalOptional merge UUID from chargen_merge_entities - links this rename to the merge so undoing the merge also reverses it
replace?: stringoptionalReplacement text (apply only)
session_id: stringrequiredSession UUID (required for apply)
chargen_attach_imageoutputSchema declaredAttach 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.
Input
campaign_id: string, caption?: string, entity_id: string, image_id: string, title?: stringcampaign_id: stringrequiredCampaign UUID
caption?: stringoptionalOptional caption shown with the image on the entity
entity_id: stringrequiredUUID of a tracked world-graph entity in that campaign (chargen_list_entities)
image_id: stringrequiredUUID of one of the user's own gallery images (not a video or audio item)
title?: stringoptionalOptional title shown with the image on the entity
chargen_create_collectionoutputSchema declaredCreate 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.
Input
campaign_id?: string, description?: string, display_order?: integer, name: string, parent_collection_id?: stringcampaign_id?: stringoptionalCampaign UUID for a workspace folder; omit for the World Codex
description?: stringoptionalOptional description
display_order?: integeroptionalOptional sort position among siblings (lower sorts first)
name: stringrequiredFolder name
parent_collection_id?: stringoptionalOptional parent folder UUID (nest inside it)
chargen_create_hookoutputSchema declaredAdd a plot hook to a campaign with a title and optional description.
Input
campaign_id: string, description?: string, title: stringcampaign_id: stringrequiredCampaign UUID
description?: stringoptionalOptional description
title: stringrequiredHook title
chargen_create_questoutputSchema declaredCreate a quest in a campaign's quest tracker with a title and optional category, status, quest giver, objectives, conditions, rewards and next actions.
Input
campaign_id: string, category?: string, failure_conditions?: array, next_actions?: string, objectives?: array, quest_giver_name?: string, rewards?: string, status?: string, success_conditions?: array, title: stringcampaign_id: stringrequiredCampaign UUID
category?: stringoptionalQuest category (default SIDE)
failure_conditions?: arrayoptionalWhat counts as failure
next_actions?: stringoptionalWhat the party should do next
objectives?: arrayoptionalObjective texts, in order
quest_giver_name?: stringoptionalWho gives the quest
rewards?: stringoptionalRewards
status?: stringoptionalQuest status (default ACTIVE)
success_conditions?: arrayoptionalWhat counts as success
title: stringrequiredQuest title
chargen_create_session_logoutputSchema declaredCreate 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.
Input
campaign_id: string, confirm: boolean, name?: string, notes?: string, recorded_at?: string, session_number?: integer, summary: stringcampaign_id: stringrequiredCampaign UUID
confirm: booleanrequiredMust be true to apply
name?: stringoptionalSession title
notes?: stringoptionalDM prep notes (extraction context, not part of the summary)
recorded_at?: stringoptionalWhen the session was played, ISO date (YYYY-MM-DD). Omit for now.
session_number?: integeroptionalSession number to backfill. Omit to append after the latest session.
summary: stringrequiredDM-approved prose summary of the session, 200 to 20000 characters. Name the NPCs, places and items that mattered.
chargen_dedupe_candidatesoutputSchema declaredAuto-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
Input
campaign_id: stringcampaign_id: stringrequiredCampaign UUID
chargen_delete_collectionoutputSchema declaredDelete 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.
Input
collection_id: stringcollection_id: stringrequiredCollection UUID (a folder id or a grafted root's ref_row_id)
chargen_delete_recap_entryoutputSchema declaredRemove 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.
Input
entry_id: string, entry_type: stringentry_id: stringrequiredEntry UUID from chargen_get_session_recap
entry_type: stringrequiredKind of recap entry to remove
chargen_edit_3d_animateoutputSchema declaredStart 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 aga
Input
bone_names?: string, file_format?: string, idempotency_key?: string, in_place?: boolean, model_id: string, moves?: array, quote_token: string, rig_type?: stringbone_names?: stringoptionalBone naming standard, for the engine the model goes to (default tripo).
file_format?: stringoptionalFile type of the result (default glb). Tripo can return FBX even when glb is asked for.
idempotency_key?: stringoptionalOptional 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.
in_place?: booleanoptionalKeep the model in place instead of moving forward (default false).
model_id: stringrequiredA 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?: arrayoptional1 to 5 moves, one clip each (default walk). Each move adds to the price.
quote_token: stringrequiredApproved quote_token from chargen_quote_3d_animate. Use the same inputs; changed inputs or prices fail without charging.
rig_type?: stringoptionalBody type of the skeleton (default auto).
chargen_edit_3d_cleanupoutputSchema declaredStart 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
Input
face_limit?: integer, idempotency_key?: string, keep_textures?: boolean, model_id: string, quads?: boolean, quote_token: string, uv_in_same_pass?: boolean, version?: stringface_limit?: integeroptionalTarget number of faces, from 100 to 200000.
idempotency_key?: stringoptionalOptional 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.
keep_textures?: booleanoptionalKeep the textures on the result (default true). Free.
model_id: stringrequiredA 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.
quads?: booleanoptionalQuad faces instead of triangles (default false). Costs 5 Gold more on v3.0.
quote_token: stringrequiredApproved quote_token from chargen_quote_3d_cleanup. Use the same inputs; changed inputs or prices fail without charging.
uv_in_same_pass?: booleanoptionalAlso unwrap UVs in the same pass (version v3.0 only). Free.
version?: stringoptionalTripo Retopology version (default v3.0).
chargen_edit_3d_rigoutputSchema declaredStart 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.
Input
bone_names?: string, file_format?: string, idempotency_key?: string, model_id: string, quote_token: string, rig_type?: stringbone_names?: stringoptionalBone naming standard, for the engine the model goes to (default tripo).
file_format?: stringoptionalFile type of the result (default glb). Tripo can return FBX even when glb is asked for.
idempotency_key?: stringoptionalOptional 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.
model_id: stringrequiredA 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.
quote_token: stringrequiredApproved quote_token from chargen_quote_3d_rig. Use the same inputs; changed inputs or prices fail without charging.
rig_type?: stringoptionalBody type of the skeleton (default auto).
chargen_edit_3d_splitoutputSchema declaredStart 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 f
Input
granularity?: string, hint?: string, idempotency_key?: string, method: string, model_id: string, part_granularity?: string, quote_token: string, segment_version?: string, split_by_connectivity?: booleangranularity?: stringoptionalshape with segment_version v2.0 only: how finely to split (default balanced).
hint?: stringoptionalname only: optional guidance for the parts, for example "sword, shield, helmet".
idempotency_key?: stringoptionalOptional 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.
method: stringrequiredshape: 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).
model_id: stringrequiredA 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.
part_granularity?: stringoptionalname only: how finely to split (default medium).
quote_token: stringrequiredApproved quote_token from chargen_quote_3d_split. Use the same inputs; changed inputs or prices fail without charging.
segment_version?: stringoptionalshape, fill and seal: the segmentation version (default v1.0).
split_by_connectivity?: booleanoptionalshape with segment_version v2.0 only: also split pieces that do not touch.
chargen_edit_3d_uvoutputSchema declaredStart 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
Input
idempotency_key?: string, keep_textures?: boolean, model_id: string, quote_token: stringidempotency_key?: stringoptionalOptional 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.
keep_textures?: booleanoptionalKeep the textures on the result (default true). Free.
model_id: stringrequiredA 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.
quote_token: stringrequiredApproved quote_token from chargen_quote_3d_uv. Use the same inputs; changed inputs or prices fail without charging.
chargen_edit_image_change_subjectoutputSchema declaredStart 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.
Input
idempotency_key?: string, image_id: string, instruction: string, quote_token: stringidempotency_key?: stringoptionalOptional 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.
image_id: stringrequiredOwned still image UUID from chargen_search_gallery. Creates a new image.
instruction: stringrequiredDescribe only the change to make, and what to keep the same.
quote_token: stringrequiredApproved quote_token from chargen_quote_image_change_subject. Use the same inputs; changed inputs or prices fail without charging.
chargen_edit_image_colorizeoutputSchema declaredStart 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.
Input
idempotency_key?: string, image_id: string, quality?: string, quote_token: stringidempotency_key?: stringoptionalOptional 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.
image_id: stringrequiredOwned still image UUID from chargen_search_gallery. Creates a new image.
quality?: stringoptionalQuality, where supported; higher quality can cost more.
quote_token: stringrequiredApproved quote_token from chargen_quote_image_colorize. Use the same inputs; changed inputs or prices fail without charging.
chargen_edit_image_debluroutputSchema declaredStart 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.
Input
idempotency_key?: string, image_id: string, quote_token: stringidempotency_key?: stringoptionalOptional 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.
image_id: stringrequiredOwned still image UUID from chargen_search_gallery. Creates a new image.
quote_token: stringrequiredApproved quote_token from chargen_quote_image_deblur. Use the same inputs; changed inputs or prices fail without charging.
chargen_edit_image_denoiseoutputSchema declaredStart 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.
Input
idempotency_key?: string, image_id: string, quote_token: stringidempotency_key?: stringoptionalOptional 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.
image_id: stringrequiredOwned still image UUID from chargen_search_gallery. Creates a new image.
quote_token: stringrequiredApproved quote_token from chargen_quote_image_denoise. Use the same inputs; changed inputs or prices fail without charging.
chargen_edit_image_detail_fixoutputSchema declaredStart 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.
Input
idempotency_key?: string, image_id: string, model?: string, quote_token: stringidempotency_key?: stringoptionalOptional 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.
image_id: stringrequiredOwned still image UUID from chargen_search_gallery. Creates a new image.
model?: stringoptionalOptional model for this edit; omitted uses the default.
quote_token: stringrequiredApproved quote_token from chargen_quote_image_detail_fix. Use the same inputs; changed inputs or prices fail without charging.
chargen_edit_image_face_restoreoutputSchema declaredStart 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.
Input
idempotency_key?: string, image_id: string, quote_token: stringidempotency_key?: stringoptionalOptional 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.
image_id: stringrequiredOwned still image UUID from chargen_search_gallery. Creates a new image.
quote_token: stringrequiredApproved quote_token from chargen_quote_image_face_restore. Use the same inputs; changed inputs or prices fail without charging.
chargen_edit_image_prompt_editoutputSchema declaredStart 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.
Input
idempotency_key?: string, image_id: string, instruction: string, model?: string, quality?: string, quote_token: stringidempotency_key?: stringoptionalOptional 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.
image_id: stringrequiredOwned still image UUID from chargen_search_gallery. Creates a new image.
instruction: stringrequiredDescribe only the change to make, and what to keep the same.
model?: stringoptionalOptional model for this edit; omitted uses the default.
quality?: stringoptionalQuality, where supported; higher quality can cost more.
quote_token: stringrequiredApproved quote_token from chargen_quote_image_prompt_edit. Use the same inputs; changed inputs or prices fail without charging.
chargen_edit_image_remove_backgroundoutputSchema declaredStart 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.
Input
idempotency_key?: string, image_id: string, model?: string, quote_token: stringidempotency_key?: stringoptionalOptional 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.
image_id: stringrequiredOwned still image UUID from chargen_search_gallery. Creates a new image.
model?: stringoptionalOptional model for this edit; omitted uses the default.
quote_token: stringrequiredApproved quote_token from chargen_quote_image_remove_background. Use the same inputs; changed inputs or prices fail without charging.
chargen_edit_image_replace_backgroundoutputSchema declaredStart 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.
Input
idempotency_key?: string, image_id: string, instruction: string, model?: string, quality?: string, quote_token: stringidempotency_key?: stringoptionalOptional 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.
image_id: stringrequiredOwned still image UUID from chargen_search_gallery. Creates a new image.
instruction: stringrequiredDescribe only the change to make, and what to keep the same.
model?: stringoptionalOptional model for this edit; omitted uses the default.
quality?: stringoptionalQuality, where supported; higher quality can cost more.
quote_token: stringrequiredApproved quote_token from chargen_quote_image_replace_background. Use the same inputs; changed inputs or prices fail without charging.
chargen_edit_image_restoreoutputSchema declaredStart 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.
Input
idempotency_key?: string, image_id: string, quality?: string, quote_token: stringidempotency_key?: stringoptionalOptional 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.
image_id: stringrequiredOwned still image UUID from chargen_search_gallery. Creates a new image.
quality?: stringoptionalQuality, where supported; higher quality can cost more.
quote_token: stringrequiredApproved quote_token from chargen_quote_image_restore. Use the same inputs; changed inputs or prices fail without charging.