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

Can we add Effects into timelime? #36

Open
Linkfufu opened this issue Aug 4, 2023 · 2 comments
Open

Can we add Effects into timelime? #36

Linkfufu opened this issue Aug 4, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Linkfufu
Copy link

Linkfufu commented Aug 4, 2023

Is your feature request related to a problem? Please describe.
NO

Describe the solution you'd like
Add Effects into timelime using code.

Additional context
For example, can we add Title or Effects into timeline?
image

@Linkfufu Linkfufu added the enhancement New feature or request label Aug 4, 2023
@timmattison
Copy link

Hmm, I'd like this too. I've been trying to use insert_title thinking that would do it but with no success. Maybe I'm missing something but I just can't get it to do anything other than report:

TypeError: <class 'NoneType'> is not a valid TimelineItem type

Willing to chip in code here, just not really sure where to start.

@pedrolabonia
Copy link
Owner

pedrolabonia commented Sep 3, 2023

Hello @timmattison and @Linkfufu

While there's no specific api function to insert or add effects, there is an api function called insert_title.

There might be a hidden api call for that since there are some hidden functions that aren't on the official documentation. I'll have a look and see if I can find it.

To be honest, I haven't tested that yet, and it's possible that it onlly allows generators such:
image

Maybe you can try that and let me know? Sorry for my disappearance. The repo is now up to date for davinci v18 and I'll polish some things and update the package do pypy soon.

@Linkfufu if you want to create a separate issue for the insert_title function, we can talk about that there! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants