Products
Generate a product
Starts a job that generates one product from a prompt, in a print or jewelry category. When the job succeeds, result.productId is the product; read it with products/get. The job finishes when the product is built.
Takes only requestId, prompt and categoryId. Arcade chooses the options of the product:
- In a
jewelrycategory, from your prompt. Name the options you want there;categories/getlists them. - In a
printcategory, on its own. To choose the options, a model, references or colors yourself, callpatterns/create, thenproducts/create.
A jewelry prompt is checked against the category before the job starts. A prompt that clearly does not fit returns 400. A jewelry product cannot be edited afterwards: to change the piece, generate a new product.
POST
Generate a product
Authorizations
Body
application/json
Response
200 - application/json
OK
A product job; its result names the product once built