Skip to content

feat: add designs, fonts, video edits and media alt text - #46

Merged
alihesari merged 7 commits into
mainfrom
feature/create-suite
Nov 20, 2026
Merged

alihesari merged 7 commits into
mainfrom
feature/create-suite

Conversation

@alihesari

Copy link
Copy Markdown
Member

What changed

  • client.designs: list, create, get, update, delete, versions, restore_version, duplicate, export, bulk_create, posts, text_to_slides, from_post. The design document is passed through as a plain dict; update and restore_version return the design plus the version that call saved.
  • client.fonts: list, upload (path, open file, or (filename, bytes, mime), same input as post files), delete.
  • client.video_edits: ops, list, create with operations as {op, params}, get. No wait helper, since the SDK has none for other jobs.
  • media.generate_alt_text(media_id).
  • New models for all of the above, exported from fopost. README, CHANGELOG and CLAUDE.md updated.

Session-only /v1/create/suggestions is left out.

Tested

uv run ruff check ., ruff format --check ., mypy (strict) and pytest all pass. New tests cover every method's path, method, body or query, and response mapping.

Owed

  • Merge after fopost/fopost#1523 is deployed.
  • fopost-django and fopost-fastapi need a dependency bump once this is released.

@alihesari
alihesari merged commit 1fa2f80 into main Nov 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant