Skip to content

POST Request AI image-rendering for this viewer

POST /viewers/{viewerToken}/ai-renderings: Request AI image-rendering for this viewer. Submit a clipped scene image together with optional AI parameters. The

POSThttps://api.rooom.com/viewers/{viewerToken}/ai-renderings
Try it out
renderings:write

Parameters

Path Parameters

NameTypeDescription
viewerTokenrequired
Example: _viewerToken_
stringViewer token.

Body required

multipart/form-data
NameTypeDescriptionValues
imagerequiredstringClipped scene image (jpg|png, max 50MB)
background_typestringBackground type for the generated imagetransparentwhitescenecustom
scene_templatestringScene template key (used when background_type = scene).living-roomofficeoutdoorstudiokitchenbathroomshowroomminimalistgarden
custom_scenestringCustom scene description (used when background_type = custom)
additional_instructionsstringAdditional instructions forwarded to the AI service
resolutionstringOutput resolution, key from renderings.defaultformats (longer edge 1024/2048/3840 px). Omitted: service default (1K).1K2K4K

Responses

200Success
400Bad Request (IMAGE_MISSING, FILE_NOT_ACCEPTED, invalid background_type/scene_template/resolution)
401Unauthorized
POST /viewers/{viewerToken}/ai-renderings Request AI image-rendering for this viewer Submit a clipped scene image together with optional AI parameters. The rendering is processed asynchronously. Required scopes: renderings:write viewerToken Viewer token. image Clipped scene image (jpg|png, max 50MB) background_type Background type for the generated image scene_template Scene template key (used when background_type = scene). custom_scene Custom scene description (used when background_type = custom) additional_instructions Additional instructions forwarded to the AI service resolution Output resolution, key from renderings.defaultformats (longer edge 1024/2048/3840 px). Omitted: service default (1K).