Skip to main content
Mutation

generateStoryboardFrame

Generates one image for a storyboard frame with AI and writes it to an image layer of the frame. Requires edit access to the project and spends the space's AI credits, unless dryRun is set. Errors carry an extension code: QUOTA_EXCEEDED when the space is out of credits, GENERATION_IN_PROGRESS when the same requestId is still running, REQUEST_ALREADY_USED when it already ended without a frame, AI_PROVIDER_UNAVAILABLE when image generation is not available, NOT_FOUND when the frame does not exist.

Arguments

Returns

GenerateStoryboardFrameOutput!

Example

mutation GenerateStoryboardFrame($input: GenerateStoryboardFrameInput!) {
  generateStoryboardFrame(input: $input) {
    assetId
    dryRun
    generationId
    layerId
    model
    prompt
    referencesUsed
    storyboardId
  }
}