썸네일 적용
This commit is contained in:
1 parent
7ec9e9749d
commit
a253c5dd3a
4 files changed
+93
-22
No files matched your search
@@ -221,11 +221,6 @@ async def generate_video(
|
||||
category_definition = marketing_intelligence.intel_result["market_positioning"]["category_definition"]
|
||||
target_keywords = marketing_intelligence.intel_result["target_keywords"]
|
||||
|
||||
brand_concept = ""
|
||||
for sp in marketing_intelligence.intel_result["selling_points"]:
|
||||
if "concept" in sp["english_category"].lower():
|
||||
brand_concept = sp["description"]
|
||||
|
||||
# Lyric 조회
|
||||
lyric_result = await session.execute(
|
||||
select(Lyric)
|
||||
@@ -391,7 +386,6 @@ async def generate_video(
|
||||
thumbnail_modifications = creatomate_service.make_thumbnail_modification(
|
||||
brand_name =brand_name,
|
||||
region = region,
|
||||
brand_concept = brand_concept,
|
||||
category_definition= category_definition,
|
||||
target_keywords=target_keywords)
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ async def generate_creative_assets_background(
|
||||
)
|
||||
marketing_intelligence = marketing_result.scalar_one_or_none()
|
||||
|
||||
creatomate_service = CreatomateService(orientation=orientation, industry=project.industry)
|
||||
creatomate_service = CreatomateService(orientation=orientation, industry=project.industry, project_id=project.id)
|
||||
template = await creatomate_service.get_one_template_data(creatomate_service.template_id)
|
||||
|
||||
store_address = project.detail_region_info
|
||||
|
||||
Reference in new issue
Block a user