Skip to main content

Optimize

POST 

/api/v1/rawmodel/optimize/:id

The "Try it out" feature for this endpoint doesn't work, because the config gets sent as a string, but it needs to be a json object. Please check the example request on the right side You can use our "optimization_finished" webhook to get notified when your model has been optimized. It also includes downloadlinks to your optimized model

Request

Path Parameters

    id integerrequired

    The id of the base asset

    Example: 281

Header Parameters

    Authorization string
    Example: Bearer {YOUR_AUTH_KEY}
    Content-Type string
    Example: application/json
    Accept string
    Example: application/json

Body

required
    config objectrequired

    The config of the optimizer as a json object complying with the API Optimize Schema

    object
    tags string[]

    A list of tags that will be added to the rapid model

Responses

success

Schema
    id integer
    name string
    optimization_status string
    job_status object
    progress integer
    processing_step string
    external string
    rawmodel object
Loading...