Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
告诉 SDK 你对观众了解的信息:用户、同意,以及绝不能发送的内容。
KontextVideo.shared.user = .init(id: "user-1234", keywords: ["romance", "drama"]) KontextVideo.shared.variantId = "B" // 与 Kontext 约定的 A/B 测试
UserDefaults
KontextVideo.shared.regulatory = .init( gdpr: true, gdprConsent: "<TCF string>", usPrivacy: "1YNN", coppa: false )