Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

5.5 KB
Raw Blame
/** Keep this public entry React-free. */
export {
  ASPECT_RATIO_MAP,
  calculateNewSize,
  clampAnimaInpaintAdapterWeight,
  clampDimension,
  cloneGenerateWidgetValues,
  DEFAULT_LORA_WEIGHT_CONFIG,
  DEFAULT_NEGATIVE_PROMPT_HEIGHT_PX,
  DEFAULT_POSITIVE_PROMPT_HEIGHT_PX,
  deriveAspectRatioId,
  GENERATE_UI_STATE_KEYS,
  getDefaultLoraWeight,
  getDynamicPromptsConfig,
  getDynamicPromptsSettingsPatch,
  getGenerateValuesRevertPatch,
  isAspectRatioLocked,
  isFluxDypePreset,
  isGenerateLora,
  isIdeogram4SamplerPreset,
  isGenerateModelConfig,
  isLoraCompatibleWithModel,
  isLoraModelConfig,
  isMainModelConfig,
  isModelIdentifierConfig,
  isQwenImageEncoderQuantization,
  isValidMossImageSkipLayers,
  isVaeModelConfig,
  isWanLoraTarget,
  isWanLoraTargetingMain,
  MAX_FLUX_DYPE_EXPONENT,
  MAX_FLUX_DYPE_SCALE,
  MAX_HIDIFFUSION_RATIO,
  MAX_KREA2_SEED_VARIANCE_STRENGTH,
  MAX_NEGATIVE_PROMPT_HEIGHT_PX,
  MAX_POSITIVE_PROMPT_HEIGHT_PX,
  MAX_TIMESTEP_SHIFT,
  MAX_ZIMAGE_SEED_VARIANCE_STRENGTH,
  MIN_NEGATIVE_PROMPT_HEIGHT_PX,
  MIN_HIDIFFUSION_T1_RATIO,
  MIN_POSITIVE_PROMPT_HEIGHT_PX,
  MIN_TIMESTEP_SHIFT,
  MIN_ZIMAGE_SEED_VARIANCE_RANDOMIZE_PERCENT,
  normalizeDynamicPromptsSettings,
  normalizeGenerateLora,
  normalizeGenerateSettings,
  normalizeMossImageSkipLayers,
  normalizeGenerateWidgetValues,
  normalizeReferenceImageName,
  normalizeReferenceImages,
  syncGenerateWidgetValuesWithModels,
} from './core/settings';
export {
  coerceSchedulerForGraph,
  createReferenceImageId,
  getCompatibleReferenceImages,
  getDefaultGenerateSettings,
  getDenoisingStartClipping,
  type StepClipping,
  addReferenceImages,
  getDefaultComponentSlotPolicies,
  isDefaultVaeLoaded,
  pruneClosedDefaultComponents,
  getGenerateModelSelectionResult,
  getModelDefaultComponents,
  getModelDefaultFills,
  isComponentCompatibleWithModel,
  getDimensionGrid,
  getGenerationDimensions,
  getGenerateInvocationIssues,
  getGenerationModelAvailabilityReasons,
  getGenerationUiPolicy,
  getNegativePromptUsage,
  getPromptHistoryRecallPatch,
  getReferenceImageRoom,
  getSchedulerOptions,
  getSettingsWithModelDefaults,
  getRecallDefaultVae,
  resolveModelDefaultVae,
  isArchitectureDescribed,
  isGenerateModelSelectable,
  pickFallbackGenerateModel,
  isKnownScheduler,
  isLossyModelSwitch,
  isSupportedGenerateModel,
  takesReferenceImages,
  NO_GENERATE_MODEL_ISSUE,
  SCHEDULER_OPTIONS,
  type GenerateModelSelectionResult,
  type GenerateModelSwitchChange,
  type GenerateModelSwitchChangeKind,
  type GenerateModelSwitchSubject,
} from './core/baseGenerationPolicies';
export {
  describeGenerationIssue,
  describeGenerationIssueFix,
  getGenerationIssueFixPatch,
  type GenerateSectionId,
  type GenerationIssue,
  type GenerationIssueFix,
} from './core/generationIssues';
export { DEFAULT_COMPONENT_SLOTS, type DefaultComponentSlot } from './core/componentDefaults';
export {
  describeExternalCanvasRefusal,
  GEMINI_TEMPERATURE_MAX,
  GEMINI_TEMPERATURE_MIN,
  getExternalProviderOptionKeys,
  getExternalResolutionPresets,
  isExternalTextOnlyCanvasModel,
  isGeminiThinkingLevel,
  isOpenAIImageBackground,
  isOpenAIImageQuality,
  isOpenAIInputFidelity,
  resolveExternalCanvasRequestSize,
} from './core/externalProvider';
export {
  resolveGenerateWidgetValues,
  type ResolvedGenerateWidgetValues,
  type ResolveGenerateWidgetValuesInput,
} from './core/resolveGenerateWidgetValues';
export {
  getCompatibleDiffusersComponentSource,
  isAnimaQwen35Encoder,
  isAnimaQwen3Encoder,
  isBundledFlux2Main,
  isBundledMainForBase,
  isDiffusersMainForBase,
  isFlux2MistralEncoder,
  isFlux2Qwen3EncoderForModel,
  isMossImageQwen35Encoder,
  isQwen3Vl4bEncoder,
  isSelfContainedSDNQFlux1Pipeline,
  isVaeAcceptedByBase,
  isVaeCompatibleWithGenerateModel,
  isZImageQwen3Encoder,
  servesAsType,
} from './core/componentCompatibility';
export {
  getLockedAspectRatioSettings,
  MAX_ASPECT_RATIO_PRESETS,
  normalizeAspectRatioPresets,
} from './core/aspectRatioPresets';
export {
  isValidKrea2RebalanceWeights,
  normalizeRebalancePresets,
  type RebalancePreset,
} from './core/conditioningRebalance';
export { MIN_BATCH_COUNT, sanitizeBatchCount } from './core/batch';
export { clampPidSteps, isPidMode } from './core/pid';
export {
  getActiveRefiner,
  isRefinerModel,
  isRefinerSupported,
  MAX_REFINER_AESTHETIC_SCORE,
  MAX_REFINER_START,
  MIN_REFINER_AESTHETIC_SCORE,
  MIN_REFINER_CFG_SCALE,
  MIN_REFINER_START,
  MIN_REFINER_STEPS,
} from './core/sdxlRefiner';
export {
  createDynamicPromptsSampleSeed,
  DEFAULT_DYNAMIC_PROMPTS_SETTINGS,
  describeDynamicPromptsFailure,
  DYNAMIC_PROMPTS_DEFAULT_MAX_PROMPTS,
  DYNAMIC_PROMPTS_MAX_PROMPTS,
  DYNAMIC_PROMPTS_MIN_PROMPTS,
  expandsDynamicPrompts,
  isDynamicPromptsSeedBehaviour,
  planGenerateSubmission,
  sanitizeDynamicPromptsConfig,
  sanitizeMaxPrompts,
  sanitizeSampleSeed,
  type DynamicPromptsConfig,
  type DynamicPromptsSeedBehaviour,
  type GenerateSubmissionSource,
} from './core/dynamicPrompts';
export {
  flattenPromptTemplateExpansion,
  getEffectivePrompts,
  type PromptTemplateSnapshot,
} from './core/promptTemplates';
export {
  addPromptHistoryItem,
  getPromptHistoryItemFromGenerateSettings,
  MAX_PROMPT_HISTORY,
  removePromptHistoryItem,
  restorePromptHistoryItems,
} from './core/promptHistory';
export {
  applyProjectPromptDraft,
  areProjectPromptDraftsEqual,
  getPromptDraftFromValues,
  migrateProjectPromptDraft,
  type ProjectPromptDraft,
  type ProjectPromptDraftPatch,
} from './core/projectPromptDraft';
export { generatedImageToReferenceImage, getEffectiveReferenceImage } from './core/referenceImage';