FinishReason::RECITATION issue wtih my own content via API

I’m trying to translate or modify my own content using Gemini API and by doing so I’m encountering “FinishReason::RECITATION” issue.

All of the CitationSources are links to my own website/content that I’m trying to translate.

The Gemini API documentation says:

RECITATION Token generation stopped because the content potentially contains copyright violations.

How can I identify as the owner of that content so I can use Gemini to translate my content?

Thank you

1 Like

Hi @Halas,

Unfortunately there is no way to bypass the behavior, but you can increase the temperature to make it more creative, adjust safety settings or use error handling for retrying the api call.

Here is another thread with similar discussion: No response due to RECITATION finishReason - #4 by alanpog