#Search for sora2 codes

1 messages · Page 1 of 1 (latest)

fading surge
#

Bdbdbdbdb

fossil frostBOT
#

Hi @fading surge. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

I'm sorry, but the knowledge sources do not contain any information about "sora2 codes." If you are referring to API usage, model names, or example code for using Sora 2, I can provide sample API calls and code snippets for generating videos with Sora 2. However, if you are looking for access codes, invite codes, or similar, there is no information available in the provided sources.

If you meant example code for using Sora 2, here is a sample for generating a video via the API:

from openai import OpenAI

openai = OpenAI()

video = openai.videos.create(
    model="sora-2",
    prompt="A video of a cool cat on a motorcycle in the night",
)

print("Video generation started:", video)

Or using curl:

curl -X POST "<https://api.openai.com/v1/videos"> \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: multipart/form-data" \
  -F prompt="Wide tracking shot of a teal coupe driving through a desert highway, heat ripples visible, hard sun overhead." \
  -F model="sora-2-pro" \
  -F size="1280x720" \
  -F seconds="8"

You can find more details and code examples in the official documentation for video generation with Sora.

If you meant something else by "sora2 codes," please clarify your request.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@fading surge Kapa.ai is still learning and improving, please let me know how I did by reacting below.