I am developing a website to eliminate the AI generate media in our website like other platforms using it so how to use API key of OpenAI in our website like OwnMates?

You don’t need an OpenAI API key for that. OpenAI doesn’t currently have a public API that can reliably tell you whether an uploaded image was AI-generated.

Check the image’s C2PA/Content Credentials metadata. OpenAI can analyze images, but it’s not really meant to be used as an AI-image detector.

Are you new to programming?

Welcome to the community.

There are two broad ways to detect AI images:

  • many top “providers” add watermarks and there are services to detect these
  • you can usually detect an AI image from its tiny noise patterns

I recommend you review the academic literature on this.

Perhaps start with this:

Hi Paulbellow,

Thanks for giving solutions,

I understand that OpenAI api is not for public. But I can use it , during the media uploaded by users then find out it will be AI generate images so it will be cancelled upload.

So how can I start to use it?

Yes I am new to programming!

Yes I have read article. But I am asking how to Open AI API key implement in our website?

OpenAI does have an API for developers using the platform with an organization.

It can detect images and audio that contain implanted signals or metadata by OpenAI on the latest AI image generation models.

Google’s SynthID verification is a web tool needing you to fill out an application. A computer-use AI agent can get to it. It separately can detect images that come from Google AI.

You will need a web server backend capable of calling the OpenAI API and keeping your API key secrets safe, just as if you were to implement a chatbot.

Yes and OpenAI has a great product to help you build that - Codex!