Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
fix(okx-ai): rewrite listing strings to OKX's documented service-description format
nirholas6e6e6d1bc1ea
diff --git a/api/_lib/okx-catalog.js b/api/_lib/okx-catalog.jsindex cff7e9645..aaa18d22d 100644--- a/api/_lib/okx-catalog.js+++ b/api/_lib/okx-catalog.js@@ -67,13 +67,13 @@ export const OKX_CATALOG = Object.freeze([kind: 'a2mcp',describes: {capability:- 'Creates a 3D identity for an AI agent from a text brief: a rigged, animation-ready GLB ' +- 'avatar plus posed studio renders — a square PFP sized for the OKX avatar slot and ' +- 'full-body shots.',+ 'Creates a complete 3D identity for an AI agent from a text brief: a rigged, ' ++ 'animation-ready GLB avatar plus posed studio renders, including a square profile ' ++ 'picture and full-body shots.',input:- 'Call create_identity with agent_name and a brief (any language); optional style_hints ' +- 'and reference_image_url. Returns a job_id — poll identity_status free until the ' +- 'deliverables are ready.',+ 'Provide: 1. the agent name 2. a personality or brand brief in any language 3. optional ' ++ 'style hints 4. an optional reference image. Returns a job you can check for free until ' ++ 'delivery is ready.',},priceUsd: '1.50',amountAtomics: usdToAtomics(1.5),@@ -124,12 +124,13 @@ export const OKX_CATALOG = Object.freeze([kind: 'rest',describes: {capability:- 'Generates a textured, downloadable 3D model (GLB) from a text prompt on the fast draft ' +- 'lane. Returns the finished GLB URL inline or a job to poll for free. Paid only when the ' +- 'job is accepted.',+ 'Generates a textured, downloadable 3D model in GLB format from a text description on ' ++ 'the fast draft lane. Suited to quick props, objects, and concept assets. You pay only ' ++ 'when the job is accepted.',input:- 'POST JSON with prompt (3-1000 chars) describing one object or character; optional ' +- 'aspect_ratio. Poll poll_url free until status is done.',+ 'Provide: 1. a text description of one object or character, 3 to 1000 characters ' ++ '2. an optional aspect ratio. Returns the model link, or a job you can check for free ' ++ 'until it is done.',},priceUsd: '0.01',amountAtomics: usdToAtomics(0.01),@@ -151,12 +152,13 @@ export const OKX_CATALOG = Object.freeze([kind: 'rest',describes: {capability:- 'Art-directed text to 3D: an LLM art director refines the prompt, then a higher-quality ' +- 'lane generates the textured GLB — standard tier by default, high for maximum detail ' +- 'plus PBR textures.',+ 'Art-directed text to 3D: refines your description, then generates a higher-quality ' ++ 'textured GLB model. Standard tier by default; the high tier adds maximum detail and ' ++ 'PBR materials.',input:- 'POST JSON with prompt (3-1000 chars); optional tier standard|high and aspect_ratio. ' +- 'Returns the GLB URL inline or job_id + poll_url; polling is free.',+ 'Provide: 1. a text description, 3 to 1000 characters 2. an optional quality tier, ' ++ 'standard or high 3. an optional aspect ratio. Returns the model link, or a job you can ' ++ 'check for free.',},priceUsd: '0.30',amountAtomics: usdToAtomics(0.3),@@ -179,11 +181,11 @@ export const OKX_CATALOG = Object.freeze([kind: 'rest',describes: {capability:- 'Reconstructs a textured 3D model (GLB) from one to four reference photos of a single ' +- 'object. Paid per call; the job is polled for free until done.',+ 'Reconstructs a textured 3D model in GLB format from photos of a single object, turning ' ++ 'product shots or concept art into usable 3D assets.',input:- 'POST JSON with image_urls: 1-4 public https photos of the same object; optional prompt ' +- 'hint. Returns the GLB URL or job_id + poll_url.',+ 'Provide: 1. one to four public photo links of the same object 2. an optional text ' ++ 'hint. Returns the model link, or a job you can check for free until it is done.',},priceUsd: '0.30',amountAtomics: usdToAtomics(0.3),@@ -233,12 +235,13 @@ export const OKX_CATALOG = Object.freeze([kind: 'rest',describes: {capability:- 'One call from text to an animation-ready character: generates the mesh, then auto-rigs a ' +- 'humanoid skeleton. Non-humanoid prompts are steered to plain mesh generation instead of ' +- 'a wasted rig pass.',+ 'One call from text to an animation-ready character: generates the 3D mesh, then rigs a ' ++ 'humanoid skeleton. Non-humanoid subjects fall back to plain mesh generation so no ' ++ 'rigging pass is wasted.',input:- 'POST JSON with prompt describing a full-body character, or image_url reference; optional ' +- 'allow_non_humanoid. Returns the mesh GLB plus a rig job to poll free.',+ 'Provide: 1. a text description of a full-body character, or a reference image link ' ++ '2. optionally allow non-humanoid subjects. Returns the mesh plus a rigging job you can ' ++ 'check for free.',},priceUsd: '0.50',amountAtomics: usdToAtomics(0.5),@@ -289,11 +292,11 @@ export const OKX_CATALOG = Object.freeze([kind: 'rest',describes: {capability:- 'Resolves a natural-language pose description to a deterministic pose seed and a full ' +- 'joint-rotation map for humanoid rigs. The same prompt always returns the same pose. ' +- 'Completes in-request.',+ 'Turns a text pose description into a deterministic pose seed and a full joint rotation ' ++ 'map for humanoid rigs. The same description always returns the same pose. Finishes ' ++ 'within the request.',input:- 'POST JSON with prompt (pose description, 1-500 chars). Returns the seed, per-joint ' ++ 'Provide: 1. a pose description, 1 to 500 characters. Returns the seed, per-joint ' +'rotations, and a preview link.',},priceUsd: '0.02',@@ -313,12 +316,11 @@ export const OKX_CATALOG = Object.freeze([kind: 'rest',describes: {capability:- 'Converts a GLB to FBX for Unity/Unreal — a rigged GLB keeps its skeleton, skin weights, ' +- 'and blendshapes. Also exports obj, stl, ply, usdz, and 3mf. Paid per call; job polling ' +- 'is free.',+ 'Converts a GLB model to FBX for Unity or Unreal. A rigged model keeps its skeleton, ' ++ 'skin weights, and blendshapes. Also exports OBJ, STL, PLY, USDZ, and 3MF formats.',input:- 'POST JSON with model_url (GLB https URL); optional format (default fbx). Returns ' +- 'job_id + poll_url; poll free until done.',+ 'Provide: 1. a public link to the GLB model 2. an optional target format, FBX by ' ++ 'default. Returns a job you can check for free until the converted file is ready.',},priceUsd: '0.10',amountAtomics: usdToAtomics(0.1),diff --git a/docs/okx-marketplace.md b/docs/okx-marketplace.mdindex 58bf1713f..57740311e 100644--- a/docs/okx-marketplace.md+++ b/docs/okx-marketplace.md@@ -136,9 +136,9 @@ backed by the same engines the [MCP 3D studio](./mcp.md) runs (no separate pipel| Text → 3D Model (GLB) | $0.01 | `/api/okx/3d/text-to-3d` | `prompt` || Text → 3D Model (Pro) | $0.30 | `/api/okx/3d/text-to-3d-pro` | `prompt`, `tier?` || Image → 3D Model | $0.30 | `/api/okx/3d/image-to-3d` | `image_urls[]` |-| Auto-Rig a GLB | $0.25 | `/api/okx/3d/rig` | `glb_url` |+| GLB Auto-Rigging | $0.25 | `/api/okx/3d/rig` | `glb_url` || Text → Rigged Avatar | $0.50 | `/api/okx/3d/avatar` | `prompt` or `image_url` |-| Animation Retarget | $0.10 | `/api/okx/3d/retarget` | `model_url`, `animation` |+| Animation Retargeting | $0.10 | `/api/okx/3d/retarget` | `model_url`, `animation` || Pose Seed | $0.02 | `/api/okx/3d/pose-seed` | `prompt` || FBX Export (rig-preserving) | $0.10 | `/api/okx/3d/fbx-export` | `model_url`, `format?` |@@ -181,7 +181,7 @@ curl -i -X POST https://three.ws/api/okx/3d/image-to-3d \-d '{"image_urls":["https://example.com/owl-front.jpg","https://example.com/owl-side.jpg"]}'```-### Auto-Rig a GLB — $0.25+### GLB Auto-Rigging — $0.25Adds an animation-ready humanoid skeleton and skin weights to a static GLB (UniRig lane).@@ -204,7 +204,7 @@ curl -i -X POST https://three.ws/api/okx/3d/avatar \-d '{"prompt":"a heroic knight in silver armor, full body"}'```-### Animation Retarget — $0.10+### Animation Retargeting — $0.10Retargets a curated clip (idle, walk, dance, …) onto any rigged humanoid GLB — returns theretargeted AnimationClip JSON keyed to the rig's actual bones plus a bone-coverage report.