{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates watermark profiles using a single `HTTP POST multipart/form-data` request.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/stream_account_identifier"}},"required":["account_id"],"additionalProperties":false},"body":{"type":"object","properties":{"name":{"$ref":"#/definitions/stream_name"},"opacity":{"$ref":"#/definitions/stream_opacity"},"padding":{"$ref":"#/definitions/stream_padding"},"position":{"$ref":"#/definitions/stream_position"},"scale":{"$ref":"#/definitions/stream_scale"},"url":{"description":"URL of the watermark image to copy.","type":"string","format":"uri"}}}},"required":["path","body"],"additionalProperties":false,"definitions":{"stream_account_identifier":{"description":"The account identifier tag.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"stream_name":{"description":"A short description of the watermark profile.","type":"string","default":"","examples":["Marketing Videos"]},"stream_opacity":{"description":"The translucency of the image. A value of `0.0` makes the image completely transparent, and `1.0` makes the image completely opaque. Note that if the image is already semi-transparent, setting this to `1.0` will not make the image completely opaque.","type":"number","default":1,"maximum":1,"minimum":0,"examples":[0.75]},"stream_padding":{"description":"The whitespace between the adjacent edges (determined by position) of the video and the image. `0.0` indicates no padding, and `1.0` indicates a fully padded video width or length, as determined by the algorithm.","type":"number","default":0.05,"maximum":1,"minimum":0,"examples":[0.1]},"stream_position":{"description":"The location of the image. Valid positions are: `upperRight`, `upperLeft`, `lowerLeft`, `lowerRight`, and `center`. Note that `center` ignores the `padding` parameter.","type":"string","default":"upperRight","examples":["center"]},"stream_scale":{"description":"The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. `0.0` indicates no scaling (use the size of the image as-is), and `1.0 `fills the entire video.","type":"number","default":0.15,"maximum":1,"minimum":0,"examples":[0.1]}}},"name":"Create watermark profiles via basic upload","id":"cloudflare.stream-watermark-profile-create-watermark-profiles-via-basic-upload","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{}},"maxRequests":1,"summary":false}}