@cliptude/cli 0.1.19 → 0.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cliptude_mcp/server.py +3 -3
- package/package.json +1 -1
- package/pyproject.toml +1 -1
package/cliptude_mcp/server.py
CHANGED
|
@@ -974,7 +974,7 @@ def build_server(*, with_http_auth: bool = False):
|
|
|
974
974
|
Field(description="Local picture (JPG/PNG/WEBP/GIF, up to 15 MB) or clip (MP4/MOV/WEBM/M4V, up to 300 MB). Stdio / local MCP only: on a remote host (mcp.cliptude.com) use start_media_upload + finish_media_upload, which work from any agent that can run curl."),
|
|
975
975
|
],
|
|
976
976
|
) -> dict[str, Any]:
|
|
977
|
-
"""Send a picture or clip you found yourself to a plan job. The file goes straight to Cliptude's storage on signed URLs (no storage keys needed) and is checked to be a real picture or video. Returns {keep, file, media_type, size}: put {"keep": "<id>"} as a beat's media or a graphic's picture slot, with start_s/end_s on a beat to play only part of a clip."""
|
|
977
|
+
"""Send a picture or clip you found yourself to a plan job. The file goes straight to Cliptude's storage on signed URLs (no storage keys needed) and is checked to be a real picture or video, and for nudity and gore (refused). Returns {keep, file, media_type, size, notes?}: put {"keep": "<id>"} as a beat's media or a graphic's picture slot, with start_s/end_s on a beat to play only part of a clip. notes say where a clip runs into a title or logo card or a weapon aimed at someone: trim it with start_s/end_s as they say."""
|
|
978
978
|
try:
|
|
979
979
|
return _client().upload_plan_media(job_id, path)
|
|
980
980
|
except Exception as exc:
|
|
@@ -1007,7 +1007,7 @@ def build_server(*, with_http_auth: bool = False):
|
|
|
1007
1007
|
key: Annotated[str, Field(min_length=1, description="key from start_media_upload")],
|
|
1008
1008
|
upload_id: Annotated[str, Field(min_length=1, description="upload_id from start_media_upload")],
|
|
1009
1009
|
) -> dict[str, Any]:
|
|
1010
|
-
"""Close an upload after every part is PUT. Cliptude checks it is a real picture or video and returns {keep, file, media_type, size}: put {"keep": "<id>"} as a beat's media or a graphic's picture slot (start_s/end_s on a beat to play part of a clip)."""
|
|
1010
|
+
"""Close an upload after every part is PUT. Cliptude checks it is a real picture or video (nudity and gore are refused) and returns {keep, file, media_type, size, notes?}: put {"keep": "<id>"} as a beat's media or a graphic's picture slot (start_s/end_s on a beat to play part of a clip). notes say where a clip runs into a title or logo card or a weapon aimed at someone: trim it as they say."""
|
|
1011
1011
|
try:
|
|
1012
1012
|
return _client().finish_media_upload(job_id, key=key, upload_id=upload_id)
|
|
1013
1013
|
except Exception as exc:
|
|
@@ -1148,7 +1148,7 @@ def build_server(*, with_http_auth: bool = False):
|
|
|
1148
1148
|
start_s: Annotated[float, Field(ge=0, description="First second to show")] = 0.0,
|
|
1149
1149
|
end_s: Annotated[float | None, Field(description="Stop before this second (default: the end)")] = None,
|
|
1150
1150
|
) -> list[str | Image]:
|
|
1151
|
-
"""See what the timeline shows, without opening any link: numbered contact sheets of every picture, a frame of every clip and
|
|
1151
|
+
"""See what the timeline shows, without opening any link: numbered contact sheets of every picture, a frame of every clip and every board (graphic) drawn as the export draws it, with the footage under it and anything on top, with the narration under each, plus a legend (tile, item_id, start_s, end_s, words, said, flags: REPEATED PICTURE, HELD, AI STILL, DARK, BARS, BARE BOARD, BOARD PENDING). Up to 24 tiles per call; call again from next_start_s. When the answer has boards_pending, the boards are still rendering: call again with the same start_s in about a minute. Use it to review a built video yourself (other brands, wrong pictures, repeats, leftover text, boards with no picture, wrong or placeholder text on a board) before giving the user the editor link, and again after run_agent to check the change."""
|
|
1152
1152
|
try:
|
|
1153
1153
|
data = _client().view_scenes(project_id, start_s=start_s, end_s=end_s)
|
|
1154
1154
|
except Exception as exc:
|
package/package.json
CHANGED
package/pyproject.toml
CHANGED