Spaces:
Sleeping
Sleeping
File size: 1,049 Bytes
83039b5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | """
OpenAI API Adapters
This module provides adapters for OpenAI's generative models:
Image Generation:
- GPT Image 1 (gpt-image-1): High-quality image generation and editing
- GPT Image 1.5 (gpt-image-1.5): Enhanced quality and prompt understanding
with support for text-to-image, image-to-image edits, masks, background
control, quality settings, and multiple output images.
Video Generation:
- Sora 2 (sora-2): Fast, high-quality video generation
- Sora 2 Pro (sora-2-pro): Enhanced quality with superior temporal consistency
with support for text-to-video, image-to-video, and multiple wait strategies.
The adapters normalize OpenAI SDK responses and return decoded bytes
suitable for saving, post-processing, or further transformation.
References:
- Image: https://platform.openai.com/docs/guides/image-generation
- Video: https://platform.openai.com/docs/guides/video-generation
"""
from .image_adapter import GPTImageAdapter
from .video_adapter import SoraVideoAdapter
__all__ = [
'GPTImageAdapter',
'SoraVideoAdapter',
] |