⏺️Endpoints
Follow up endpoint information's in the page to generate a model.
Summary of workflow
1. Fetching Available 3D Model Names
Endpoint: GET /get_model_names
GET /get_model_namesimport requests
url = "https://opus5.p.rapidapi.com/get_model_names"
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "opus5.p.rapidapi.com"
}
response = requests.get(url, headers=headers)
model_names = response.json()
print(model_names)2. Discovering Customizable Attributes
Endpoint: GET /get_attributes_with_name
GET /get_attributes_with_name3. Customize and Create 3D Models
a. Create Structure
Endpoint: POST /create_opus_structure
POST /create_opus_structureb. Create Component
Endpoint: POST /create_opus_component
POST /create_opus_componentExample #1 - Create a Table with 1.2 meter width and .95 meter depth
Example #2 - Create a small Sofa
Example #3 - Create a modern Sofa with 2 meter width
4. Checking the Job Result
Endpoint: GET /get_opus_job_result
GET /get_opus_job_resultExtensions
Last updated