generate_from_image
Turn your own picture into a Roblox-ready 3D asset (skips text-to-image). Pass a public https URL of a PNG, JPG or WebP (≤10 MB, at least 256 px on the short side). Best input: one object, fully in frame, on a plain background. Returns a generation_id immediately; poll get_generation until status is completed. Local files are not reachable from this server: host the image somewhere public first, or upload it with POST /api/v1/generations/from-image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional library label. Defaults to the image's file name. | |
| variants | No | Number of 3D variants of the same image (1–4, different seeds). Default 1. Each variant counts against quota; 2–4 need a paid plan. | |
| image_url | Yes | Public https URL of the image. Private, internal and IP-address hosts are refused. | |
| size_studs | No | Optional real-world size: the longest side of the finished model in studs (1 stud = 0.28 m). Omit to use the model's default size. | |
| tri_budget | No | Triangle budget (500–10000). Default 10000. Models are decimated to it, then measured. |