- Published on
Creating a 3D Icon Generator
In this tutorial, we will guide you through the process of creating a 3D icon generator using Arkwright AI. The tutorial covers uploading your LoRA and model to the Hugging Face repository, creating a new project on Arkwright AI, and generating customized 3D icons.
Table of Contents
Upload your LoRA and Model to Hugging Face Repository
Begin by downloading the 3D cartoon element"
LoRA by TOPLCL with the toonAme stable diffusion checkpoint by NestOrtiz3D, available at civitai.com.
- Visit huggingface.co and create a new "model" repository with the name "3d." Ensure that the visibility settings are set to "public" and click on "Create Model."
- Once the repository is created, navigate to the "Files and versions" tab. Click on the "Add file" button on the right side, and select "Upload files" from the menu.
- In the upload panel, drag and drop your LoRA and checkpoint model files. Ensure that the files are not placed inside a folder.
- After the files finish processing, provide a commit message to complete the upload.
Learn more about uploading to Huggingface Hub
Create a New Project and Connect Your Model
Return to arkwright.ai and access your account dashboard. Create a new project to initiate the hosting of your stable diffusion model.
- Upon project creation, a workflow will be set up for generating images. Customize the workflow by selecting your own checkpoint and LoRA. In the 'model' subsection of the Stable Diffusion node, choose 'Custom' from the dropdown.
- Copy the repository ID and filename of your checkpoint to add your model from Hugging Face.
- Repeat the process for the 'LoRA' subsection, pasting the repository ID and filename of your LoRA file.
Input Your Prompt and Generate
Utilize a sample prompt provided by the 3D cartoon element LoRA and proceed with running the workflow. I am using the prompt: masterpiece, best quality, unicorn, cute, 3dzujian, 3d rendering, Cartoon material, clean background, white background, blank background
Click on the "Run workflow" button on the left-hand side, initiating the execution of nodes with the provided text in the "input" node.
Enhance your workflow by incorporating a "Remove Background" node to achieve a PNG icon with a transparent background.
- Drag and drop the "Remove Background" card from the left-hand panel into the workflow.
- Connect the input with the result from your Stable Diffusion node, to the Remove Background node. Link the output with API outputs.
- Re-run the workflow, and the result will now meet your specifications, providing the desired transparent background for your 3D icon generator.
Here is the final generated result: