Make sure you add your s3 details for 3d server, so you can receive image generated in your bucket. Images generated without s3 details being added will be delete after 24hours
Request
Make a POST request to below endpoint and pass the required parameters as a request body.
Body
Body Attributes
Your API Key used for request authorization.
model_id string
default: "instantmesh"
Specifies the model to be used for the 3D generation.
prompt string
default: "A full body mesh of a dog"
required
Text prompt for generating the 3D model.
Whether to render a NeRF video of the 3D model.
The format of the output 3D object. Only glb is supported.
Negative prompt to exclude certain elements.
Controls the guidance between the prompt and the generated model.
num_inference_steps number
default: "10"
required
The number of inference steps to generate the 3D model.
Controls the strength of style-space guidance.
Number of sampling steps for style-space guidance. Range: 1 to 50.
Controls the strength of slat guidance. Range: 0.0 to 10.0.
Number of sampling steps for slat guidance. Range: 1 to 50.
Degree of mesh simplification. Range: 0.90 to 0.98.
foreground_ratio number
default: "0.85"
required
Ratio of the foreground size to the image size. Only used when remove_bg is enabled.
If true, removes the background from the generated 3D model.
resolution number
default: "256"
required
Specifies the resolution of the generated 3D model. Max: 512.
Size of chunks used in the process (affects VRAM usage). Max: 12000.
Random seed for reproducibility. If set to 0, a random seed will be generated.
If set to "yes", the output files will be saved in a temporary directory.