Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sdk): Update sdk with latest changes #36

Merged
merged 2 commits into from
Dec 29, 2024
Merged

feat(sdk): Update sdk with latest changes #36

merged 2 commits into from
Dec 29, 2024

Conversation

magic-hour-sdk-bot[bot]
Copy link
Contributor

OpenAPI Change Summary

What's Changed


POST /v1/face-swap
Request:

Changed content type : application/json

  • Changed property assets (object)

    Provide the assets for face swap. For video, The video_source field determines whether video_file_path or youtube_url field is used

    • Changed property image_file_path (string)

      The path of the input image. This value can be either the file_path field from the response of the upload urls API, or the url of the file.

POST /v1/ai-photo-editor
Request:

Changed content type : application/json

  • Changed property assets (object)

    Provide the assets for photo editor

    • Changed property image_file_path (string)

      The image used to generate the output. This value can be either the file_path field from the response of the upload urls API, or the url of the file.

POST /v1/face-swap-photo
Request:

Changed content type : application/json

  • Changed property assets (object)

    Provide the assets for face swap photo

    • Changed property source_file_path (string)

      This is the image from which the face is extracted. This value can be either the file_path field from the response of the upload urls API, or the url of the file.

    • Changed property target_file_path (string)

      This is the image where the face from the source image will be placed. This value can be either the file_path field from the response of the upload urls API, or the url of the file.

@davidhu2000 davidhu2000 merged commit 97543a5 into main Dec 29, 2024
@davidhu2000 davidhu2000 deleted the sdk-update branch December 29, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant