Capítulo 553 de 988

Chapter 553: renderStillOnCloudrun()

Core Idea

<ExperimentalBadge> <p> Cloud Run is in <a href="/docs/cloudrun/status">Alpha status and not actively being developed.

Key Concepts

  • Example
  • Arguments
  • cloudRunUrl?
  • serviceName?
  • metadata?<AvailableFrom v="4.0.216" />
  • region
  • serveUrl
  • composition

Code Examples

const result = await renderStillOnCloudrun({
  region: 'us-east1',
  serviceName: 'remotion-render-bds9aab',
  composition: 'MyStill',
  imageFormat: 'png',
  serveUrl: 'https://storage.googleapis.com/remotioncloudrun-123asd321/sites/abcdefgh',
});

if (result.type === 'success') {
  console.log(result.bucketName);
  console.log(result.renderId);
}
  • What it demonstrates: Usage pattern for renderStillOnCloudrun() from the official docs.

Key Takeaways

  1. Understand example when working with renderStillOnCloudrun().
  2. Understand arguments when working with renderStillOnCloudrun().
  3. Understand cloudrunurl? when working with renderStillOnCloudrun().
  4. Understand servicename? when working with renderStillOnCloudrun().
  5. Understand metadata?<availablefrom v="4.0.216" /> when working with renderStillOnCloudrun().

Connects To

  • api: related page in the Cloud Run (@remotion/cloudrun) section.
  • Checklist: related page in the Cloud Run (@remotion/cloudrun) section.
  • cli: related page in the Cloud Run (@remotion/cloudrun) section.