Migration planning

Keep application code portable across video generation providers.

OpenAI plans to retire Sora 2 models and the Videos API on September 24, 2026. Keep your application contract independent from one provider.

Normalize these fields

  • Input prompt, image URL, aspect ratio, duration, and quality
  • Task states: queued, running, succeeded, failed
  • Error codes and retryability
  • Output URL and expiry behavior
  • Refund and billing metadata

Store outputs promptly

Provider download URLs may expire. Copy completed videos to storage you control before returning them to product users.

Test a fallback

Run the same acceptance prompts through a second provider and compare motion quality, latency, moderation behavior, and cost. Keep provider selection behind a replaceable adapter.

Read the full alternatives and migration guide.