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

Sample Project for Automatic Content Creation #403

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

theperiperi
Copy link

@theperiperi theperiperi commented Oct 4, 2024

Brief Summary of Changes

What does this PR address?

Are tests included?

  • Yes
  • No

sample POST request for testing

image

Reviewer, please note:

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I ran the full test suite before pushing the changes and all the tests pass.

@const-cloudinary
Copy link
Contributor

@theperiperi thank you for the effort!

Can you please provide a brief description of you sample app? And what generative/AI Cloudinary features it uses?

The idea is to use one of these:
https://cloudinary.com/documentation/ai_in_action#generative_ai_transformations

And since it's a bit tricky to use postman or any other tool to upload files, it would be great if you could implement some UI (page) where users can specify parameters/files and see the result after it's being generated.

Thanks!

@theperiperi
Copy link
Author

Yea ok sure, I'll make the UI changes and make the description elaborate highlighting the features I've used 👍

@theperiperi
Copy link
Author

Hey request changes and ui have been done, and also the readme is updated, please lmk if this is okay

Copy link
Contributor

@const-cloudinary const-cloudinary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@theperiperi , OK so this project looks more like a project for #400, we can still merge it.

The idea of Automatic Content Creation is to use Cloudinary's effects like:
https://cloudinary.com/documentation/ai_in_action#generative_replace in this sample project,

So the user will upload his image and it will apply some cool AI stuff, like removing background, replacing items in the image. etc.

You can also implement something from this:
https://cloudinary.com/documentation/ai_in_action#content_analysis_for_auto_tagging

Regarding this project, I got this error when running it:
Screenshot 2024-10-14 at 17 22 51

import cloudinary

cloudinary.config(
cloud_name = "xxx",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These values set here break things for someone who is using CLOUDINARY_URL environment variable.
You can keep this file, just comment it out.

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.

2 participants