Update mockup config
update_configUpdate a project's mockup configuration by merging specific dial values. Adjust camera angles, scene colors, effects, and more while preserving unchanged settings.
Instructions
Merge dial values into a project's configuration to change how the mockup looks. Pass an object of dialKey -> value. Numbers are degrees/units/0-1 strengths; booleans toggle effects; bgColor is a hex string; mockupModel picks the device. Available keys — camera: Viewport.camera.tiltX, Viewport.camera.tiltY, Viewport.camera.roll, Viewport.camera.fov, Viewport.camera.zoom, Viewport.camera.panX, Viewport.camera.panY, Viewport.camera.flap, Viewport.camera.flapX | scene: Viewport.scene.bgMode, Viewport.scene.darkMode, Viewport.scene.bgColor, Viewport.scene.transparentBg, Viewport.devices.mockupModel | border: Viewport.border.borderRadius, Viewport.border.borderStyle | effects: Viewport.effects.depth, Viewport.effects.sharpen, Viewport.effects.vignette, Viewport.effects.grain, Viewport.effects.pixelGrid, Viewport.effects.caStrength, Viewport.effects.bloom, Viewport.effects.bloomStrength, Viewport.effects.bloomThreshold, Viewport.effects.bloomRadius, Viewport.effects.lighting, Viewport.effects.lightingAngle, Viewport.effects.lightingIntensity, Viewport.effects.lightingSoftness, Viewport.effects.reflection | blur: Viewport.blur.mode. Only the keys you pass are changed; everything else is preserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dials | Yes | Dial key -> value, e.g. {"Viewport.camera.tiltX": 20, "Viewport.scene.bgColor": "#111111", "Viewport.effects.reflection": true}. | |
| projectId | Yes |