DEV Community

Derek
Derek

Posted on

Tutorial Codex/Claude + Craftsman Agent Skills Becomes the AI 3D Toy IP Generator Workstation Turn Your IPs to Digital Assets and Finished Products

Hi Dev community, I this blog I will introduce how to use your local Desktop Agent and Craftsman Agent API/Skills as a unified AI 3D Toy IP Generator Workstation. You can turn your creative ideas or IP into ready to produce Toys (AI Figurine,Plush Stuffed Toys), multiview sheets, downloadable 3D models and more.

3D Model View

Requirements:

  1. Your Local Agents Codex/Claude/Gemini CLIs/Workbuddy
  2. Craftsman Agent Skills, Especially the toy_generator_design_draft,toy_generator_task_create,toy_generator_task_poll
  3. OneKey Agent Gateway Access Key: DEEPNLP_ONEKEY_ROUTER_ACCESS Required to use the SOTA Image Generation (Nano Banana/Image Gen ) and 3D models APIs (Tripo/Meshy) in the toy design agentic workflow which can be access using OneKey MCP CLI or APIs.

And you can generate:

  1. Multiview sheet of your IPs.
  2. 3D models(.obj,.glb) ready for 3D printing and Plush Toy Manufacturing on Craftsman Agent Store, which is the manufacturing on Demand platform to connect to 1000+ craftsman workshop and turn your design to finished products and delivery.

Online Web:
AI Toy Generator Craftsman Agent Web
Craftsman Agent Skills GitHub

Here is a gallery of demo generated Plush Toy Steve in Minecraft, PVC Materials AI Figurine Steve/Alex/Kulipa, etc.

Example 1, Minecraft IPs

Minecraft 3D Model View

Minecraft 3D Model View

Example 2, Swimming Boys and Girls

Swimming Boys 3D Model View Craftsman Agent

Swimming Boys 3D Model View Craftsman Agent

Swimming Girls 3D Model View Craftsman Agent

Swimming Girls 3D Model View Craftsman Agent

Example 3, Cult Movie Niulai

This is the share workstation online view of Niulai and 3D models:
https://craftsman-agent.aiagenta2z.com/app/sessions/share/296aaac1-14f5-4c85-989e-cd69e917a5eb

Movie Niulai 3D Model View

Tutorial

The typical workflow of IP design and 3D/Toy Generation is:

[Text/Image Prompt]
        ->
[Toy Design Draft / Multi-View Sheet]
        ->
[Create 3D Generation Task: Task ID]
        ->
[Poll Task Results Progress using Task ID]
        ->
[3D Toy Model + Preview]

Enter fullscreen mode Exit fullscreen mode
  1. Setup Agent Skills Craftsman Agent

In your local project folder, setup the skills markdown file by running below commands to download skills from GitHub or Clawhub

npx skills add ai-hub-admin/craftsman-agent
Enter fullscreen mode Exit fullscreen mode
openclaw skills install @ai-hub-admin/toy-generator
Enter fullscreen mode Exit fullscreen mode

You can download the toy-generator and more specific usage from the hub. The raw skills data can be found in GitHub Repo

https://github.com/AI-Hub-Admin/Craftsman-Agent

2. Running Skills

2.1 Generate Toy 3D Model MultiView Sheets Images

Example: I am using the Niulai (A Cow) Cult Movie for low resolution animation screenshots of videos images are reference.
Niulai Movie Cow Picture : https://craftsman-agent.aiagenta2z.com/static/ogino-chihiro/50923d3d-8222-45ce-989e-4c41ec15e3ab/3fd95298d85b42389415cd8d5f8227cd.jpg

You can be specific about which kind of toys you would like, such as the Plush Stuffed Animal Toys or AI Figurine (PVC materials), 3D Printing Materials, etc.
You can also define the texture of the toys to make it better

Setup the Env Variables before Running the Skills APIs, Otherwise you will an Key not found error! You can get the onekey access variables and demo credits at https://deepnlp.org/workspace/keys.

export DEEPNLP_ONEKEY_ROUTER_ACCESS=your_access_key
Enter fullscreen mode Exit fullscreen mode

This is the final Prompt

Please follow the reference pictures of the Movie Niulai of a standing Cow. Please Output a multiview sheets images of stuffed toy. 
Background should be white. Facial Expression should resemble the main face. Texture of the cow should be exact like the main picture, coarse grain texture.
Use the raw character images as references: https://craftsman-agent.aiagenta2z.com/static/ogino-chihiro/50923d3d-8222-45ce-989e-4c41ec15e3ab/3fd95298d85b42389415cd8d5f8227cd.jpg

Enter fullscreen mode Exit fullscreen mode

The Output of the MultiView Sheets will give the Front View, Side View and Back View of the toys when the skills runs

Multi View Sheets of Craftsman Agent Niulai

This file will be ready to send to Manufacturing Supplier to make it out and the factory will print out the design, get modules of plush materials and make Demo Toys!
Just upload the generated images to marketplace, and make temperary order to find Craftsman and your order will be matched, https://craftsman-agent.aiagenta2z.com/marketplace

2.2 Generate 3D Models for 3D Printing or AI Figurine

If you want to use 3D Printing to print out the model and paint. You can try below prompts and output a 3D models calls
the default SOTA 3D generation APIs (Tripo/Meshy/etc). Note that the 3D generate have 3 models (image-to-model, text-to-model, multi-view sheets to model)

In this blog we use the outputs of previous step 2.1 MultiView Sheets and produce a more accurate models. Alternatively, you can also
use just single images to generate (But the back and side e.g. the tail of the cow might be different than your expectations.)

Use Craftsman Agent Toy Generator Skills to Generate 3D Models of Niulai. Use the previously generated MultiView Sheets Front, Side and Back Images to generate 3D Models ready to ship.
Enter fullscreen mode Exit fullscreen mode

Note that the 3D Generate Takes Minutes the process work like this:

Toy 3D Generation Start -> Generate Task ID task_id -> Polling on Task ID task_id progress to get final results

Enter fullscreen mode Exit fullscreen mode

Get the Task View From the First API Calls

From the First API calls Get the 3D ShareURL Views

Field Description
session_id The generation unique session id
share_url To View the Generated Images or Slides in Workspace

The is a final generated gallery of 3D models Polling:
https://craftsman-agent.aiagenta2z.com/app/sessions/share/296aaac1-14f5-4c85-989e-cd69e917a5eb

A Demo URL Path of Generated 3D models Ready to Download: (Path are marked in Tutorial and live for a lifecycle)

https://us-static.aiagenta2z.com/xxxxxxxx/user_name/session_id/tripo_pbr_model_990f448b-d8b8-491e-8d9f-284802aa985c.glb
Enter fullscreen mode Exit fullscreen mode

And This is the final Toy generated 3d files ready to print/manufacture!

https://craftsman-agent.aiagenta2z.com/app/sessions/share/296aaac1-14f5-4c85-989e-cd69e917a5eb

Related Reading and Usage

3D Generator
Image Generator
Toy Generator
Perler Beads Pattern Generator
Craftsman Agent Store MOD Platform
Craftsman Marketplace

Top comments (0)