Rodin Generation
Rodin: The all in one API for generating Rodin. This API will generate a mesh and textures for the given images and prompt. This API provide two tiers of generation, Sketch and Regular. Sketch is optimized for generation speed, and is recommended for fast prototyping. Regular is optimized for quality, and is recommended for production.
concatPossible values: glbPossible values: PBRPossible values: mediumPossible values: falsefalse[]QuadPossible values: truetrueRodin Generation
Use this API to submit an asynchronous task to our server. You will get a task UUID from the API which can be used to check the status of the the task and download the result when the task is ready.
Pricing
Base Cost: 0.5 credit per generation for both
SketchandRegulartier.Addons:
HighPack: Additional 1 credit per generation.
Request
Authentication
This API uses bearer key for authentication. You need to include a valid token in the Authorization header for all requests.
Body
images
file/Binary/base64
Image files to be used for mesh and texture generation. Required. For Image-to-3D generate mode. One or more images are needed.(Maximum of 5 images.) NULL. For Text-to-3D generate mode.
prompt
string
A textual prompt to guide the model generation. If not provided, an AI-generated prompt based on the provided images will be used. Optional. For Image-to-3D generate mode. Required. For Text-to-3D generate mode.
condition_mode
string
Optional. Generation mode of Rodin API. Possible values are fuse and concat. Default is concat.
For fuse mode, One or more images are required.It will generate a model by extracting and fusing features of objects from multiple images.
For concat mode, need to upload multiple multi-view images of the same object and generate the model.(You can upload multi-view images in any order, regardless of the order of view.)
seed
number
Optional. A seed value for randomization in the mesh generation, ranging from 0 to 65535 (both inclusive). If not provided, the seed will be randomly generated.
geometry_file_format
string
Optional. Format of the geometry file. Possible values are glb, usdz, fbx, obj, and stl. Default is glb.
For Rodin Sketch, the value should either remain unset or be set to glb.
material
string
Optional. The material type. Possible values are PBR and Shaded. Default is PBR.
For Rodin Sketch, the value should either remain unset or be set to PBR.
quality
string
Optional. The generation quality. Possible values are high, medium, low, and extra-low. Default is medium.
For Rodin Sketch, the value should either remain unset or be set to medium.
use_hyper
boolean
Optional. Whether the generated model should be exported using hyper mode. Default is false.
For Rodin Sketch, the value should either remain unset or be set to false.
tier
string
Optional. Tier of generation.
For Rodin Sketch, the value should be set to Sketch.
For Rodin Regular, the value shouid either remain unset or be set to Regular.
Vurse mode is custom faster generation pipline.
addons
array of strings
Optional. Generation add-on features. Default is []. Possible values are HighPack.
Response
error
string
Error message, if any.
message
string
Success message or detailed error information.
uuid
string
Unique identifier for the generated task.
jobs
object
A job object, containing details of individual jobs executed as part of the generation process.
jobs.uuids
array of strings
UUIDs of the sub-jobs.
jobs.subscription_key
string
Subscription key associated with these jobs.
Examples
Minimal Rodin Regular Generation(Image-to-3D)
Minimal Rodin Sketch Generation(Image-to-3D)
Minimal Rodin Generation(Text-to-3D)
Minimal Rodin Generation(Image-to-3D with multi-view images)
Comprehensive Rodin Regular Generation with All Parameters
Last updated