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.

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
imagestring · binaryOptional
promptstringOptional
condition_modestring · enumOptionalDefault: concatPossible values:
seednumberOptional
geometry_file_formatstring · enumOptionalDefault: glbPossible values:
materialstring · enumOptionalDefault: PBRPossible values:
qualitystring · enumOptionalDefault: mediumPossible values:
use_hyperbooleanOptionalDefault: false
tierstring · enumOptionalPossible values:
TAPosebooleanOptionalDefault: false
bbox_conditionarrayOptionalDefault: []
mesh_modestring · enumOptionalDefault: QuadPossible values:
mesh_simplifybooleanOptionalDefault: true
mesh_smoothbooleanOptionalDefault: true
Responses
post
/api/v2/rodin
201Success

Rodin 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

Note: There are no additional fees for parameters. Only addons incur extra charges.

  • Base Cost: 0.5 credit per generation for both Sketch and Regular tier.

  • Addons:

    • HighPack: Additional 1 credit per generation.

Request

Note: All requests to this endpoint must be sent using multipart/form-data to properly handle the file uploads and additional parameters required for the mesh and texture generation process.

Authentication

This API uses bearer key for authentication. You need to include a valid token in the Authorization header for all requests.

Body

Parameter
Type
Description

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.

Rodin provides two generation modes: Text-to-3D and Image-to-3D. Image-to-3D: When you upload Image files, Rodin will automatically select Image-to-3D mode and you can upload one or more image files. When Multiple images are uploaded,

  • fuse mode will combine all the features of the image to generate.

  • And concat mode expects these images to be multi-view images of a single model.

Text-to-3D: When you have not uploaded any image files, you must upload the "prompt" parameter and Rodin will change to Text-to-3D mode.

Response

Use the uuid field instead of the jobs.uuids field for your requests to Check Status and Download Results API endpoints.

Property
Type
Description

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