{"slug":"ton-halowerk-com-v1-picture-in-picture-c4c596","title":"The speaker clip is scaled to size_percent of the screen width (height from its ","host":"ton.halowerk.com","method":"POST","resource":"https://ton.halowerk.com/v1/picture-in-picture","category":"image","description":"The speaker clip is scaled to size_percent of the screen width (height from its display aspect ratio; circle = centre square crop), masked with an anti-aliased rectangle, rounded-rectangle (corner radius 12 % of the shorter side) or circle mask, optionally framed by a border of border_px in border_c","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1303,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"border_px":3,"duration_s":2,"screen_url":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif","shape":"circle","size_percent":30,"speaker_url":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"audio":{"default":"auto","description":"Which audio to keep.","enum":["auto","screen","speaker","mix"],"type":"string"},"border_color":{"default":"#FFFFFF","description":"Border colour as #RRGGBB.","pattern":"^#?[0-9A-Fa-f]{6}$","type":"string"},"border_px":{"default":0,"description":"Border width in pixels.","maximum":20,"minimum":0,"type":"integer"},"duration_s":{"description":"Length of the analysed range in seconds (at most 60; default: to the end of the video).","exclusiveMinimum":0,"maximum":60,"type":"number"},"margin_px":{"default":24,"description":"Distance from the frame edges to the outer edge (border included).","maximum":200,"minimum":0,"type":"integer"},"position":{"default":"bottom_right","description":"Corner of the picture-in-picture.","enum":["top_left","top_right","bottom_left","bottom_right"],"type":"string"},"quality":{"default":"balanced","description":"H.264 quality: small (CRF 28), balanced (CRF 23) or high (CRF 19).","enum":["small","balanced","high"],"type":"string"},"screen_base64":{"description":"Main video (screen recording) as base64 (MP4/MOV, WebM/MKV, AVI, MPEG-TS, MPEG-PS, FLV, Ogg or animated GIF; at most 10 MiB decoded; a data: URL prefix is accepted).","maxLength":14000000,"minLength":16,"type":"string"},"screen_url":{"description":"Public http(s) URL of the main video (screen recording) (at most 10 MiB; private, local and reserved addresses are refused).","format":"uri","maxLength":2048,"pattern":"^https?://","type":"string"},"shape":{"default":"rectangle","description":"Shape of the speaker picture.","enum":["rectangle","rounded","circle"],"type":"string"},"size_percent":{"default":25,"description":"Width of the speaker picture as percent of the screen width.","maximum":50,"minimum":10,"type":"number"},"speaker_base64":{"description":"Speaker (camera) video as base64 (MP4/MOV, WebM/MKV, AVI, MPEG-TS, MPEG-PS, FLV, Ogg or animated GIF; at most 10 MiB decoded; a data: URL prefix is accepted).","maxLength":14000000,"minLength":16,"type":"string"},"speaker_offset_s":{"default":0,"description":"Time in the screen window at which the speaker picture starts.","maximum":3600,"minimum":0,"type":"number"},"speaker_url":{"description":"Public http(s) URL of the speaker (camera) video (at most 10 MiB; private, local and reserved addresses are refused).","format":"uri","maxLength":2048,"pattern":"^https?://","type":"string"},"start_s":{"default":0,"description":"Start of the analysed range in seconds.","maximum":36000,"minimum":0,"type":"number"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1194,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1334,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1203,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1303,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1310,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1307,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1108,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1130,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":351,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":350,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":340,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":366,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":331,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":352,"error":null}],"description_full":"The speaker clip is scaled to size_percent of the screen width (height from its display aspect ratio; circle = centre square crop), masked with an anti-aliased rectangle, rounded-rectangle (corner radius 12 % of the shorter side) or circle mask, optionally framed by a border of border_px in border_color, and overlaid with ffmpeg 6.1 at the chosen corner with margin_px from the frame edge to the outer border.","last_updated":"2026-11-12T22:28:39.815Z","schemes":["exact"]}