@mega-yfue/eufy-sdk / listAiSceneRecommendations
Function: listAiSceneRecommendations()
ts
function listAiSceneRecommendations(mega, opts?): Promise<string[]>;List the AI-generated ambient scenes ("aigc") — e.g. "Enchanting Starry Night", "Moonlit Serenity". A DIFFERENT resource from listLightEffects's id-addressable catalogue: /app/light/aigc/recommend/list returns scene keywords only, with NO lightId, so they can't be driven through setEffect — the app turns a chosen keyword into an applied effect via a server-side generate step the SDK hasn't reversed yet. Surfaced for visibility. Needs a region (400s without one) and, for some accounts, a device sn; region defaults to "eu" (the endpoint returned an identical list across every shard tried).
Parameters
mega
MegaHttpClient
opts?
region?
string
sn?
string
Returns
Promise<string[]>