Canvases

Estimate canvas generation without starting jobs

Read-only cost and work preview. Accepts read or write credentials in the canvas workspace. Always runs a dry run without charging credits, creating jobs or changing the graph. Returns estimated_cost, planned_jobs, plan_id and graph_content_hash. After approval, send identical options and the returned plan identifiers to POST /v1/canvases/{canvasId}/generate-all using a write credential.

get/v1/canvases/{canvasId}/generation-estimate

Request

  • Base URL: https://api.masko.ai
  • URL: https://api.masko.ai/v1/canvases/{canvasId}/generation-estimate
  • Auth: HTTP bearer

Path parameters

canvasIdstring uuid required

Query parameters

optionsstring

URL-encoded JSON object with animation_model (standard or premium, default standard), duration (default 5; standard 2–15, premium 4–30), targets, include_stickers, skip_completed, and optional node_ids or edge_ids arrays. Execution controls such as dry_run, approved_plan_id and max_credits are rejected. This endpoint always estimates only.

Response

Read-only generation plan

Changes

No recorded changes to this operation across all 1 revision of this API.